Skip to content

LegacyCloudMonitoringAnnotationQueryBuilder🔗

Constructor🔗

func NewLegacyCloudMonitoringAnnotationQueryBuilder() *LegacyCloudMonitoringAnnotationQueryBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) Build() (LegacyCloudMonitoringAnnotationQuery, error)

Filters🔗

Array of filters to query data by. Labels that can be filtered on are defined by the metric.

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) Filters(filters []string) *LegacyCloudMonitoringAnnotationQueryBuilder

MetricKind🔗

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) MetricKind(metricKind googlecloudmonitoring.MetricKind) *LegacyCloudMonitoringAnnotationQueryBuilder

MetricType🔗

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) MetricType(metricType string) *LegacyCloudMonitoringAnnotationQueryBuilder

ProjectName🔗

GCP project to execute the query against.

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) ProjectName(projectName string) *LegacyCloudMonitoringAnnotationQueryBuilder

RefId🔗

Query refId.

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) RefId(refId string) *LegacyCloudMonitoringAnnotationQueryBuilder

Text🔗

Annotation text.

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) Text(text string) *LegacyCloudMonitoringAnnotationQueryBuilder

Title🔗

Annotation title.

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) Title(title string) *LegacyCloudMonitoringAnnotationQueryBuilder

ValueType🔗

func (builder *LegacyCloudMonitoringAnnotationQueryBuilder) ValueType(valueType string) *LegacyCloudMonitoringAnnotationQueryBuilder

See also🔗