Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + const MonitoringReadScope + const MonitoringScope + const MonitoringWriteScope + type Aggregation struct + AlignmentPeriod string + CrossSeriesReducer string + ForceSendFields []string + GroupByFields []string + NullFields []string + PerSeriesAligner string + func (s *Aggregation) MarshalJSON() ([]byte, error) + type Axis struct + ForceSendFields []string + Label string + NullFields []string + Scale string + func (s *Axis) MarshalJSON() ([]byte, error) + type ChartOptions struct + ForceSendFields []string + Mode string + NullFields []string + func (s *ChartOptions) MarshalJSON() ([]byte, error) + type Column struct + ForceSendFields []string + NullFields []string + Weight int64 + Widgets []*Widget + func (s *Column) MarshalJSON() ([]byte, error) + type ColumnLayout struct + Columns []*Column + ForceSendFields []string + NullFields []string + func (s *ColumnLayout) MarshalJSON() ([]byte, error) + type Dashboard struct + ColumnLayout *ColumnLayout + DisplayName string + Etag string + ForceSendFields []string + GridLayout *GridLayout + MosaicLayout *MosaicLayout + Name string + NullFields []string + RowLayout *RowLayout + func (s *Dashboard) MarshalJSON() ([]byte, error) + type DataSet struct + ForceSendFields []string + LegendTemplate string + MinAlignmentPeriod string + NullFields []string + PlotType string + TimeSeriesQuery *TimeSeriesQuery + func (s *DataSet) MarshalJSON() ([]byte, error) + type DroppedLabels struct + ForceSendFields []string + Label map[string]string + NullFields []string + func (s *DroppedLabels) MarshalJSON() ([]byte, error) + type Empty struct + type Field struct + Cardinality string + DefaultValue string + ForceSendFields []string + JsonName string + Kind string + Name string + NullFields []string + Number int64 + OneofIndex int64 + Options []*Option + Packed bool + TypeUrl string + func (s *Field) MarshalJSON() ([]byte, error) + type GaugeView struct + ForceSendFields []string + LowerBound float64 + NullFields []string + UpperBound float64 + func (s *GaugeView) MarshalJSON() ([]byte, error) + func (s *GaugeView) UnmarshalJSON(data []byte) error + type GridLayout struct + Columns int64 + ForceSendFields []string + NullFields []string + Widgets []*Widget + func (s *GridLayout) MarshalJSON() ([]byte, error) + type ListDashboardsResponse struct + Dashboards []*Dashboard + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListDashboardsResponse) MarshalJSON() ([]byte, error) + type MosaicLayout struct + Columns int64 + ForceSendFields []string + NullFields []string + Tiles []*Tile + func (s *MosaicLayout) MarshalJSON() ([]byte, error) + type Option struct + ForceSendFields []string + Name string + NullFields []string + Value googleapi.RawMessage + func (s *Option) MarshalJSON() ([]byte, error) + type PickTimeSeriesFilter struct + Direction string + ForceSendFields []string + NullFields []string + NumTimeSeries int64 + RankingMethod string + func (s *PickTimeSeriesFilter) MarshalJSON() ([]byte, error) + type ProjectsDashboardsCreateCall struct + func (c *ProjectsDashboardsCreateCall) Context(ctx context.Context) *ProjectsDashboardsCreateCall + func (c *ProjectsDashboardsCreateCall) Do(opts ...googleapi.CallOption) (*Dashboard, error) + func (c *ProjectsDashboardsCreateCall) Fields(s ...googleapi.Field) *ProjectsDashboardsCreateCall + func (c *ProjectsDashboardsCreateCall) Header() http.Header + type ProjectsDashboardsDeleteCall struct + func (c *ProjectsDashboardsDeleteCall) Context(ctx context.Context) *ProjectsDashboardsDeleteCall + func (c *ProjectsDashboardsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsDashboardsDeleteCall) Fields(s ...googleapi.Field) *ProjectsDashboardsDeleteCall + func (c *ProjectsDashboardsDeleteCall) Header() http.Header + type ProjectsDashboardsGetCall struct + func (c *ProjectsDashboardsGetCall) Context(ctx context.Context) *ProjectsDashboardsGetCall + func (c *ProjectsDashboardsGetCall) Do(opts ...googleapi.CallOption) (*Dashboard, error) + func (c *ProjectsDashboardsGetCall) Fields(s ...googleapi.Field) *ProjectsDashboardsGetCall + func (c *ProjectsDashboardsGetCall) Header() http.Header + func (c *ProjectsDashboardsGetCall) IfNoneMatch(entityTag string) *ProjectsDashboardsGetCall + type ProjectsDashboardsListCall struct + func (c *ProjectsDashboardsListCall) Context(ctx context.Context) *ProjectsDashboardsListCall + func (c *ProjectsDashboardsListCall) Do(opts ...googleapi.CallOption) (*ListDashboardsResponse, error) + func (c *ProjectsDashboardsListCall) Fields(s ...googleapi.Field) *ProjectsDashboardsListCall + func (c *ProjectsDashboardsListCall) Header() http.Header + func (c *ProjectsDashboardsListCall) IfNoneMatch(entityTag string) *ProjectsDashboardsListCall + func (c *ProjectsDashboardsListCall) PageSize(pageSize int64) *ProjectsDashboardsListCall + func (c *ProjectsDashboardsListCall) PageToken(pageToken string) *ProjectsDashboardsListCall + func (c *ProjectsDashboardsListCall) Pages(ctx context.Context, f func(*ListDashboardsResponse) error) error + type ProjectsDashboardsPatchCall struct + func (c *ProjectsDashboardsPatchCall) Context(ctx context.Context) *ProjectsDashboardsPatchCall + func (c *ProjectsDashboardsPatchCall) Do(opts ...googleapi.CallOption) (*Dashboard, error) + func (c *ProjectsDashboardsPatchCall) Fields(s ...googleapi.Field) *ProjectsDashboardsPatchCall + func (c *ProjectsDashboardsPatchCall) Header() http.Header + type ProjectsDashboardsService struct + func NewProjectsDashboardsService(s *Service) *ProjectsDashboardsService + func (r *ProjectsDashboardsService) Create(parent string, dashboard *Dashboard) *ProjectsDashboardsCreateCall + func (r *ProjectsDashboardsService) Delete(name string) *ProjectsDashboardsDeleteCall + func (r *ProjectsDashboardsService) Get(name string) *ProjectsDashboardsGetCall + func (r *ProjectsDashboardsService) List(parent string) *ProjectsDashboardsListCall + func (r *ProjectsDashboardsService) Patch(name string, dashboard *Dashboard) *ProjectsDashboardsPatchCall + type ProjectsService struct + Dashboards *ProjectsDashboardsService + func NewProjectsService(s *Service) *ProjectsService + type RatioPart struct + Aggregation *Aggregation + Filter string + ForceSendFields []string + NullFields []string + func (s *RatioPart) MarshalJSON() ([]byte, error) + type Row struct + ForceSendFields []string + NullFields []string + Weight int64 + Widgets []*Widget + func (s *Row) MarshalJSON() ([]byte, error) + type RowLayout struct + ForceSendFields []string + NullFields []string + Rows []*Row + func (s *RowLayout) MarshalJSON() ([]byte, error) + type Scorecard struct + ForceSendFields []string + GaugeView *GaugeView + NullFields []string + SparkChartView *SparkChartView + Thresholds []*Threshold + TimeSeriesQuery *TimeSeriesQuery + func (s *Scorecard) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SourceContext struct + FileName string + ForceSendFields []string + NullFields []string + func (s *SourceContext) MarshalJSON() ([]byte, error) + type SpanContext struct + ForceSendFields []string + NullFields []string + SpanName string + func (s *SpanContext) MarshalJSON() ([]byte, error) + type SparkChartView struct + ForceSendFields []string + MinAlignmentPeriod string + NullFields []string + SparkChartType string + func (s *SparkChartView) MarshalJSON() ([]byte, error) + type StatisticalTimeSeriesFilter struct + ForceSendFields []string + NullFields []string + NumTimeSeries int64 + RankingMethod string + func (s *StatisticalTimeSeriesFilter) MarshalJSON() ([]byte, error) + type Text struct + Content string + ForceSendFields []string + Format string + NullFields []string + func (s *Text) MarshalJSON() ([]byte, error) + type Threshold struct + Color string + Direction string + ForceSendFields []string + Label string + NullFields []string + Value float64 + func (s *Threshold) MarshalJSON() ([]byte, error) + func (s *Threshold) UnmarshalJSON(data []byte) error + type Tile struct + ForceSendFields []string + Height int64 + NullFields []string + Widget *Widget + Width int64 + XPos int64 + YPos int64 + func (s *Tile) MarshalJSON() ([]byte, error) + type TimeSeriesFilter struct + Aggregation *Aggregation + Filter string + ForceSendFields []string + NullFields []string + PickTimeSeriesFilter *PickTimeSeriesFilter + SecondaryAggregation *Aggregation + StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter + func (s *TimeSeriesFilter) MarshalJSON() ([]byte, error) + type TimeSeriesFilterRatio struct + Denominator *RatioPart + ForceSendFields []string + NullFields []string + Numerator *RatioPart + PickTimeSeriesFilter *PickTimeSeriesFilter + SecondaryAggregation *Aggregation + StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter + func (s *TimeSeriesFilterRatio) MarshalJSON() ([]byte, error) + type TimeSeriesQuery struct + ForceSendFields []string + NullFields []string + TimeSeriesFilter *TimeSeriesFilter + TimeSeriesFilterRatio *TimeSeriesFilterRatio + TimeSeriesQueryLanguage string + UnitOverride string + func (s *TimeSeriesQuery) MarshalJSON() ([]byte, error) + type Type struct + Fields []*Field + ForceSendFields []string + Name string + NullFields []string + Oneofs []string + Options []*Option + SourceContext *SourceContext + Syntax string + func (s *Type) MarshalJSON() ([]byte, error) + type Widget struct + Blank *Empty + ForceSendFields []string + NullFields []string + Scorecard *Scorecard + Text *Text + Title string + XyChart *XyChart + func (s *Widget) MarshalJSON() ([]byte, error) + type XyChart struct + ChartOptions *ChartOptions + DataSets []*DataSet + ForceSendFields []string + NullFields []string + Thresholds []*Threshold + TimeshiftDuration string + XAxis *Axis + YAxis *Axis + func (s *XyChart) MarshalJSON() ([]byte, error)