cloudmonitoring

package
v0.0.0-...-814acd1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2015 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package cloudmonitoring provides access to the .

Usage example:

import "google.golang.org/api/cloudmonitoring/v2beta1"
...
cloudmonitoringService, err := cloudmonitoring.New(oauthHttpClient)

Index

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 MetricDescriptorLabelDescriptor

type MetricDescriptorLabelDescriptor struct {
	Description string `json:"description,omitempty"`

	Key string `json:"key,omitempty"`
}

type MetricDescriptorTypeDescriptor

type MetricDescriptorTypeDescriptor struct {
	MetricType string `json:"metricType,omitempty"`

	ValueType string `json:"valueType,omitempty"`
}

type MetricDescriptorsListCall

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

func (*MetricDescriptorsListCall) Count

Count sets the optional parameter "count":

func (*MetricDescriptorsListCall) Do

func (*MetricDescriptorsListCall) Fields

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

func (*MetricDescriptorsListCall) PageToken

PageToken sets the optional parameter "pageToken":

func (*MetricDescriptorsListCall) Query

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 PointDistributionBucket struct {
	Count int64 `json:"count,omitempty,string"`

	LowerBound float64 `json:"lowerBound,omitempty"`

	UpperBound float64 `json:"upperBound,omitempty"`
}

type PointDistributionOverflowBucket

type PointDistributionOverflowBucket struct {
	Count int64 `json:"count,omitempty,string"`

	LowerBound float64 `json:"lowerBound,omitempty"`
}

type PointDistributionUnderflowBucket

type PointDistributionUnderflowBucket struct {
	Count int64 `json:"count,omitempty,string"`

	UpperBound float64 `json:"upperBound,omitempty"`
}

type Service

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

	MetricDescriptors *MetricDescriptorsService

	Timeseries *TimeseriesService

	TimeseriesDescriptors *TimeseriesDescriptorsService
	// contains filtered or unexported fields
}

func New

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

type Timeseries

type Timeseries struct {
	Points []*Point `json:"points,omitempty"`

	TimeseriesDesc *TimeseriesDescriptor `json:"timeseriesDesc,omitempty"`
}

type TimeseriesDescriptor

type TimeseriesDescriptor struct {
	Labels map[string]string `json:"labels,omitempty"`

	Metric string `json:"metric,omitempty"`

	Project string `json:"project,omitempty"`
}

type TimeseriesDescriptorLabel

type TimeseriesDescriptorLabel struct {
	Key string `json:"key,omitempty"`

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

type TimeseriesDescriptorsListCall

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

func (*TimeseriesDescriptorsListCall) Count

Count sets the optional parameter "count":

func (*TimeseriesDescriptorsListCall) Do

func (*TimeseriesDescriptorsListCall) Fields

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

func (*TimeseriesDescriptorsListCall) Labels

Labels sets the optional parameter "labels":

func (*TimeseriesDescriptorsListCall) Oldest

Oldest sets the optional parameter "oldest":

func (*TimeseriesDescriptorsListCall) PageToken

PageToken sets the optional parameter "pageToken":

func (*TimeseriesDescriptorsListCall) Timespan

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 (*TimeseriesListCall) Fields

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:

Jump to

Keyboard shortcuts

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