TimeSeriesListBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
AlignmentPeriod🔗
Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.
func (builder *TimeSeriesListBuilder) AlignmentPeriod(alignmentPeriod string) *TimeSeriesListBuilder
CrossSeriesReducer🔗
Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.
func (builder *TimeSeriesListBuilder) CrossSeriesReducer(crossSeriesReducer string) *TimeSeriesListBuilder
Filters🔗
Array of filters to query data by. Labels that can be filtered on are defined by the metric.
GroupBys🔗
Array of labels to group data by.
PerSeriesAligner🔗
Alignment function to be used. Defaults to ALIGN_MEAN.
func (builder *TimeSeriesListBuilder) PerSeriesAligner(perSeriesAligner string) *TimeSeriesListBuilder
Preprocessor🔗
Preprocessor is not part of the API, but is used to store the preprocessor and not affect the UI for the rest of parameters
func (builder *TimeSeriesListBuilder) Preprocessor(preprocessor googlecloudmonitoring.PreprocessorType) *TimeSeriesListBuilder
ProjectName🔗
GCP project to execute the query against.
SecondaryAlignmentPeriod🔗
Only present if a preprocessor is selected. Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.
func (builder *TimeSeriesListBuilder) SecondaryAlignmentPeriod(secondaryAlignmentPeriod string) *TimeSeriesListBuilder
SecondaryCrossSeriesReducer🔗
Only present if a preprocessor is selected. Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.
func (builder *TimeSeriesListBuilder) SecondaryCrossSeriesReducer(secondaryCrossSeriesReducer string) *TimeSeriesListBuilder
SecondaryGroupBys🔗
Only present if a preprocessor is selected. Array of labels to group data by.
func (builder *TimeSeriesListBuilder) SecondaryGroupBys(secondaryGroupBys []string) *TimeSeriesListBuilder
SecondaryPerSeriesAligner🔗
Only present if a preprocessor is selected. Alignment function to be used. Defaults to ALIGN_MEAN.
func (builder *TimeSeriesListBuilder) SecondaryPerSeriesAligner(secondaryPerSeriesAligner string) *TimeSeriesListBuilder
Text🔗
Annotation text.
Title🔗
Annotation title.
View🔗
Data view, defaults to FULL.