Skip to content

TimeSeriesList🔗

Constructor🔗

TimeSeriesList()

Methods🔗

build🔗

Builds the object.

def build() -> googlecloudmonitoring.TimeSeriesList

alignment_period🔗

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

def alignment_period(alignment_period: str) -> typing.Self

cross_series_reducer🔗

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

def cross_series_reducer(cross_series_reducer: str) -> typing.Self

filters🔗

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

def filters(filters: list[str]) -> typing.Self

group_bys🔗

Array of labels to group data by.

def group_bys(group_bys: list[str]) -> typing.Self

per_series_aligner🔗

Alignment function to be used. Defaults to ALIGN_MEAN.

def per_series_aligner(per_series_aligner: str) -> typing.Self

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

def preprocessor(preprocessor: googlecloudmonitoring.PreprocessorType) -> typing.Self

project_name🔗

GCP project to execute the query against.

def project_name(project_name: str) -> typing.Self

secondary_alignment_period🔗

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

def secondary_alignment_period(secondary_alignment_period: str) -> typing.Self

secondary_cross_series_reducer🔗

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

def secondary_cross_series_reducer(secondary_cross_series_reducer: str) -> typing.Self

secondary_group_bys🔗

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

def secondary_group_bys(secondary_group_bys: list[str]) -> typing.Self

secondary_per_series_aligner🔗

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

def secondary_per_series_aligner(secondary_per_series_aligner: str) -> typing.Self

text🔗

Annotation text.

def text(text: str) -> typing.Self

title🔗

Annotation title.

def title(title: str) -> typing.Self

view🔗

Data view, defaults to FULL.

def view(view: str) -> typing.Self

See also🔗