Documentation ¶
Overview ¶
Package cloudmonitoring provides access to the .
Usage example:
import "google.golang.org/api/cloudmonitoring/v2beta1" ... cloudmonitoringService, err := cloudmonitoring.New(oauthHttpClient)
Index ¶
- type ListMetricDescriptorsRequest
- type ListMetricDescriptorsResponse
- type ListTimeseriesDescriptorsRequest
- type ListTimeseriesDescriptorsResponse
- type ListTimeseriesRequest
- type ListTimeseriesResponse
- type MetricDescriptor
- type MetricDescriptorLabelDescriptor
- type MetricDescriptorTypeDescriptor
- type MetricDescriptorsListCall
- func (c *MetricDescriptorsListCall) Count(count int64) *MetricDescriptorsListCall
- func (c *MetricDescriptorsListCall) Do() (*ListMetricDescriptorsResponse, error)
- func (c *MetricDescriptorsListCall) Fields(s ...googleapi.Field) *MetricDescriptorsListCall
- func (c *MetricDescriptorsListCall) PageToken(pageToken string) *MetricDescriptorsListCall
- func (c *MetricDescriptorsListCall) Query(query string) *MetricDescriptorsListCall
- type MetricDescriptorsService
- type Point
- type PointDistribution
- type PointDistributionBucket
- type PointDistributionOverflowBucket
- type PointDistributionUnderflowBucket
- type Service
- type Timeseries
- type TimeseriesDescriptor
- type TimeseriesDescriptorLabel
- type TimeseriesDescriptorsListCall
- func (c *TimeseriesDescriptorsListCall) Count(count int64) *TimeseriesDescriptorsListCall
- func (c *TimeseriesDescriptorsListCall) Do() (*ListTimeseriesDescriptorsResponse, error)
- func (c *TimeseriesDescriptorsListCall) Fields(s ...googleapi.Field) *TimeseriesDescriptorsListCall
- func (c *TimeseriesDescriptorsListCall) Labels(labels string) *TimeseriesDescriptorsListCall
- func (c *TimeseriesDescriptorsListCall) Oldest(oldest string) *TimeseriesDescriptorsListCall
- func (c *TimeseriesDescriptorsListCall) PageToken(pageToken string) *TimeseriesDescriptorsListCall
- func (c *TimeseriesDescriptorsListCall) Timespan(timespan string) *TimeseriesDescriptorsListCall
- type TimeseriesDescriptorsService
- type TimeseriesListCall
- func (c *TimeseriesListCall) Count(count int64) *TimeseriesListCall
- func (c *TimeseriesListCall) Do() (*ListTimeseriesResponse, error)
- func (c *TimeseriesListCall) Fields(s ...googleapi.Field) *TimeseriesListCall
- func (c *TimeseriesListCall) Labels(labels string) *TimeseriesListCall
- func (c *TimeseriesListCall) Oldest(oldest string) *TimeseriesListCall
- func (c *TimeseriesListCall) PageToken(pageToken string) *TimeseriesListCall
- func (c *TimeseriesListCall) Timespan(timespan string) *TimeseriesListCall
- type TimeseriesService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListMetricDescriptorsRequest ¶
type ListMetricDescriptorsRequest struct {
Kind string `json:"kind,omitempty"`
}
type ListMetricDescriptorsResponse ¶
type ListMetricDescriptorsResponse struct { Kind string `json:"kind,omitempty"` Metrics []*MetricDescriptor `json:"metrics,omitempty"` NextPageToken string `json:"nextPageToken,omitempty"` }
type ListTimeseriesDescriptorsRequest ¶
type ListTimeseriesDescriptorsRequest struct {
Kind string `json:"kind,omitempty"`
}
type ListTimeseriesDescriptorsResponse ¶
type ListTimeseriesDescriptorsResponse struct { Kind string `json:"kind,omitempty"` NextPageToken string `json:"nextPageToken,omitempty"` Oldest string `json:"oldest,omitempty"` Timeseries []*TimeseriesDescriptor `json:"timeseries,omitempty"` Youngest string `json:"youngest,omitempty"` }
type ListTimeseriesRequest ¶
type ListTimeseriesRequest struct {
Kind string `json:"kind,omitempty"`
}
type ListTimeseriesResponse ¶
type ListTimeseriesResponse struct { Kind string `json:"kind,omitempty"` NextPageToken string `json:"nextPageToken,omitempty"` Oldest string `json:"oldest,omitempty"` Timeseries []*Timeseries `json:"timeseries,omitempty"` Youngest string `json:"youngest,omitempty"` }
type MetricDescriptor ¶
type MetricDescriptor struct { Description string `json:"description,omitempty"` Labels []*MetricDescriptorLabelDescriptor `json:"labels,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` TypeDescriptor *MetricDescriptorTypeDescriptor `json:"typeDescriptor,omitempty"` }
type MetricDescriptorsListCall ¶
type MetricDescriptorsListCall struct {
// contains filtered or unexported fields
}
func (*MetricDescriptorsListCall) Count ¶
func (c *MetricDescriptorsListCall) Count(count int64) *MetricDescriptorsListCall
Count sets the optional parameter "count":
func (*MetricDescriptorsListCall) Do ¶
func (c *MetricDescriptorsListCall) Do() (*ListMetricDescriptorsResponse, error)
func (*MetricDescriptorsListCall) Fields ¶
func (c *MetricDescriptorsListCall) Fields(s ...googleapi.Field) *MetricDescriptorsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MetricDescriptorsListCall) PageToken ¶
func (c *MetricDescriptorsListCall) PageToken(pageToken string) *MetricDescriptorsListCall
PageToken sets the optional parameter "pageToken":
func (*MetricDescriptorsListCall) Query ¶
func (c *MetricDescriptorsListCall) Query(query string) *MetricDescriptorsListCall
Query sets the optional parameter "query":
type MetricDescriptorsService ¶
type MetricDescriptorsService struct {
// contains filtered or unexported fields
}
func NewMetricDescriptorsService ¶
func NewMetricDescriptorsService(s *Service) *MetricDescriptorsService
func (*MetricDescriptorsService) List ¶
func (r *MetricDescriptorsService) List(project string, listmetricdescriptorsrequest *ListMetricDescriptorsRequest) *MetricDescriptorsListCall
List:
type Point ¶
type Point struct { BoolValue bool `json:"boolValue,omitempty"` DistributionValue *PointDistribution `json:"distributionValue,omitempty"` DoubleValue float64 `json:"doubleValue,omitempty"` End string `json:"end,omitempty"` Int64Value int64 `json:"int64Value,omitempty,string"` Start string `json:"start,omitempty"` StringValue string `json:"stringValue,omitempty"` }
type PointDistribution ¶
type PointDistribution struct { Buckets []*PointDistributionBucket `json:"buckets,omitempty"` OverflowBucket *PointDistributionOverflowBucket `json:"overflowBucket,omitempty"` UnderflowBucket *PointDistributionUnderflowBucket `json:"underflowBucket,omitempty"` }
type PointDistributionBucket ¶
type Service ¶
type Service struct { BasePath string // API endpoint base URL MetricDescriptors *MetricDescriptorsService Timeseries *TimeseriesService TimeseriesDescriptors *TimeseriesDescriptorsService // contains filtered or unexported fields }
type Timeseries ¶
type Timeseries struct { Points []*Point `json:"points,omitempty"` TimeseriesDesc *TimeseriesDescriptor `json:"timeseriesDesc,omitempty"` }
type TimeseriesDescriptor ¶
type TimeseriesDescriptorsListCall ¶
type TimeseriesDescriptorsListCall struct {
// contains filtered or unexported fields
}
func (*TimeseriesDescriptorsListCall) Count ¶
func (c *TimeseriesDescriptorsListCall) Count(count int64) *TimeseriesDescriptorsListCall
Count sets the optional parameter "count":
func (*TimeseriesDescriptorsListCall) Do ¶
func (c *TimeseriesDescriptorsListCall) Do() (*ListTimeseriesDescriptorsResponse, error)
func (*TimeseriesDescriptorsListCall) Fields ¶
func (c *TimeseriesDescriptorsListCall) Fields(s ...googleapi.Field) *TimeseriesDescriptorsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TimeseriesDescriptorsListCall) Labels ¶
func (c *TimeseriesDescriptorsListCall) Labels(labels string) *TimeseriesDescriptorsListCall
Labels sets the optional parameter "labels":
func (*TimeseriesDescriptorsListCall) Oldest ¶
func (c *TimeseriesDescriptorsListCall) Oldest(oldest string) *TimeseriesDescriptorsListCall
Oldest sets the optional parameter "oldest":
func (*TimeseriesDescriptorsListCall) PageToken ¶
func (c *TimeseriesDescriptorsListCall) PageToken(pageToken string) *TimeseriesDescriptorsListCall
PageToken sets the optional parameter "pageToken":
func (*TimeseriesDescriptorsListCall) Timespan ¶
func (c *TimeseriesDescriptorsListCall) Timespan(timespan string) *TimeseriesDescriptorsListCall
Timespan sets the optional parameter "timespan":
type TimeseriesDescriptorsService ¶
type TimeseriesDescriptorsService struct {
// contains filtered or unexported fields
}
func NewTimeseriesDescriptorsService ¶
func NewTimeseriesDescriptorsService(s *Service) *TimeseriesDescriptorsService
func (*TimeseriesDescriptorsService) List ¶
func (r *TimeseriesDescriptorsService) List(project string, metric string, youngest string, listtimeseriesdescriptorsrequest *ListTimeseriesDescriptorsRequest) *TimeseriesDescriptorsListCall
List:
type TimeseriesListCall ¶
type TimeseriesListCall struct {
// contains filtered or unexported fields
}
func (*TimeseriesListCall) Count ¶
func (c *TimeseriesListCall) Count(count int64) *TimeseriesListCall
Count sets the optional parameter "count":
func (*TimeseriesListCall) Do ¶
func (c *TimeseriesListCall) Do() (*ListTimeseriesResponse, error)
func (*TimeseriesListCall) Fields ¶
func (c *TimeseriesListCall) Fields(s ...googleapi.Field) *TimeseriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TimeseriesListCall) Labels ¶
func (c *TimeseriesListCall) Labels(labels string) *TimeseriesListCall
Labels sets the optional parameter "labels":
func (*TimeseriesListCall) Oldest ¶
func (c *TimeseriesListCall) Oldest(oldest string) *TimeseriesListCall
Oldest sets the optional parameter "oldest":
func (*TimeseriesListCall) PageToken ¶
func (c *TimeseriesListCall) PageToken(pageToken string) *TimeseriesListCall
PageToken sets the optional parameter "pageToken":
func (*TimeseriesListCall) Timespan ¶
func (c *TimeseriesListCall) Timespan(timespan string) *TimeseriesListCall
Timespan sets the optional parameter "timespan":
type TimeseriesService ¶
type TimeseriesService struct {
// contains filtered or unexported fields
}
func NewTimeseriesService ¶
func NewTimeseriesService(s *Service) *TimeseriesService
func (*TimeseriesService) List ¶
func (r *TimeseriesService) List(project string, metric string, youngest string, listtimeseriesrequest *ListTimeseriesRequest) *TimeseriesListCall
List: