cloudlatencytest

package
v0.0.0-...-c37129a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2016 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package cloudlatencytest provides access to the Google Cloud Network Performance Monitoring API.

Usage example:

import "google.golang.org/api/cloudlatencytest/v2"
...
cloudlatencytestService, err := cloudlatencytest.New(oauthHttpClient)

Index

Constants

View Source
const (
	// View monitoring data for all of your Google Cloud and API projects
	MonitoringReadonlyScope = "https://www.googleapis.com/auth/monitoring.readonly"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedStats

type AggregatedStats struct {
	Stats []*Stats `json:"stats,omitempty"`
}

type AggregatedStatsReply

type AggregatedStatsReply struct {
	TestValue string `json:"testValue,omitempty"`
}

type DoubleValue

type DoubleValue struct {
	Label string `json:"label,omitempty"`

	Value float64 `json:"value,omitempty"`
}

type IntValue

type IntValue struct {
	Label string `json:"label,omitempty"`

	Value int64 `json:"value,omitempty,string"`
}

type Service

type Service struct {
	BasePath string // API endpoint base URL

	Statscollection *StatscollectionService
	// contains filtered or unexported fields
}

func New

func New(client *http.Client) (*Service, error)

type Stats

type Stats struct {
	DoubleValues []*DoubleValue `json:"doubleValues,omitempty"`

	IntValues []*IntValue `json:"intValues,omitempty"`

	StringValues []*StringValue `json:"stringValues,omitempty"`

	Time float64 `json:"time,omitempty"`
}

type StatsReply

type StatsReply struct {
	TestValue string `json:"testValue,omitempty"`
}

type StatscollectionService

type StatscollectionService struct {
	// contains filtered or unexported fields
}

func NewStatscollectionService

func NewStatscollectionService(s *Service) *StatscollectionService

func (*StatscollectionService) Updateaggregatedstats

func (r *StatscollectionService) Updateaggregatedstats(aggregatedstats *AggregatedStats) *StatscollectionUpdateaggregatedstatsCall

Updateaggregatedstats: RPC to update the new TCP stats.

func (*StatscollectionService) Updatestats

Updatestats: RPC to update the new TCP stats.

type StatscollectionUpdateaggregatedstatsCall

type StatscollectionUpdateaggregatedstatsCall struct {
	// contains filtered or unexported fields
}

func (*StatscollectionUpdateaggregatedstatsCall) Do

func (*StatscollectionUpdateaggregatedstatsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type StatscollectionUpdatestatsCall

type StatscollectionUpdatestatsCall struct {
	// contains filtered or unexported fields
}

func (*StatscollectionUpdatestatsCall) Do

func (*StatscollectionUpdatestatsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type StringValue

type StringValue struct {
	Label string `json:"label,omitempty"`

	Value string `json:"value,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL