Skip to content

TimeSeriesListBuilder🔗

Constructor🔗

new TimeSeriesListBuilder()

Methods🔗

build🔗

Builds the object.

public TimeSeriesList build()

alignmentPeriod🔗

Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.

public TimeSeriesListBuilder alignmentPeriod(String alignmentPeriod)

crossSeriesReducer🔗

Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.

public TimeSeriesListBuilder crossSeriesReducer(String crossSeriesReducer)

filters🔗

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

public TimeSeriesListBuilder filters(List<String> filters)

groupBys🔗

Array of labels to group data by.

public TimeSeriesListBuilder groupBys(List<String> groupBys)

perSeriesAligner🔗

Alignment function to be used. Defaults to ALIGN_MEAN.

public TimeSeriesListBuilder perSeriesAligner(String perSeriesAligner)

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

public TimeSeriesListBuilder preprocessor(PreprocessorType preprocessor)

projectName🔗

GCP project to execute the query against.

public TimeSeriesListBuilder projectName(String projectName)

secondaryAlignmentPeriod🔗

Only present if a preprocessor is selected. Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.

public TimeSeriesListBuilder secondaryAlignmentPeriod(String secondaryAlignmentPeriod)

secondaryCrossSeriesReducer🔗

Only present if a preprocessor is selected. Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.

public TimeSeriesListBuilder secondaryCrossSeriesReducer(String secondaryCrossSeriesReducer)

secondaryGroupBys🔗

Only present if a preprocessor is selected. Array of labels to group data by.

public TimeSeriesListBuilder secondaryGroupBys(List<String> secondaryGroupBys)

secondaryPerSeriesAligner🔗

Only present if a preprocessor is selected. Alignment function to be used. Defaults to ALIGN_MEAN.

public TimeSeriesListBuilder secondaryPerSeriesAligner(String secondaryPerSeriesAligner)

text🔗

Annotation text.

public TimeSeriesListBuilder text(String text)

title🔗

Annotation title.

public TimeSeriesListBuilder title(String title)

view🔗

Data view, defaults to FULL.

public TimeSeriesListBuilder view(String view)

See also🔗