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 Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Statscollection *StatscollectionService // contains filtered or unexported fields }
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 ¶
func (r *StatscollectionService) Updatestats(stats *Stats) *StatscollectionUpdatestatsCall
Updatestats: RPC to update the new TCP stats.
type StatscollectionUpdateaggregatedstatsCall ¶
type StatscollectionUpdateaggregatedstatsCall struct {
// contains filtered or unexported fields
}
func (*StatscollectionUpdateaggregatedstatsCall) Do ¶
func (c *StatscollectionUpdateaggregatedstatsCall) Do() (*AggregatedStatsReply, error)
func (*StatscollectionUpdateaggregatedstatsCall) Fields ¶
func (c *StatscollectionUpdateaggregatedstatsCall) Fields(s ...googleapi.Field) *StatscollectionUpdateaggregatedstatsCall
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 (c *StatscollectionUpdatestatsCall) Do() (*StatsReply, error)
func (*StatscollectionUpdatestatsCall) Fields ¶
func (c *StatscollectionUpdatestatsCall) Fields(s ...googleapi.Field) *StatscollectionUpdatestatsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type StringValue ¶
Click to show internal directories.
Click to hide internal directories.