Class DashboardFilter (2.12.3)

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

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

.. _oneof:


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.
The specified filter type




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