Class DashboardFilter (2.15.0)

DashboardFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A filter to reduce the amount of data charted in relevant widgets.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
label_key str
Required. The key for the label
template_variable str
The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard.
string_value str
A variable-length string value. This field is a member of oneof_ default_value.
filter_type google.cloud.monitoring_dashboard_v1.types.DashboardFilter.FilterType
The specified filter type

Classes

FilterType

FilterType(value)

The type for the dashboard filter

Values: FILTER_TYPE_UNSPECIFIED (0): Filter type is unspecified. This is not valid in a well-formed request. RESOURCE_LABEL (1): Filter on a resource label value METRIC_LABEL (2): Filter on a metrics label value USER_METADATA_LABEL (3): Filter on a user metadata label value SYSTEM_METADATA_LABEL (4): Filter on a system metadata label value GROUP (5): Filter on a group id