Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::DashboardFilter (v1.0.1)

Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::DashboardFilter.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter_type

def filter_type() -> ::Google::Cloud::Monitoring::Dashboard::V1::DashboardFilter::FilterType

#filter_type=

def filter_type=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::DashboardFilter::FilterType
Parameter

#label_key

def label_key() -> ::String
Returns
  • (::String) — Required. The key for the label

#label_key=

def label_key=(value) -> ::String
Parameter
  • value (::String) — Required. The key for the label
Returns
  • (::String) — Required. The key for the label

#string_value

def string_value() -> ::String
Returns
  • (::String) — A variable-length string value.

#string_value=

def string_value=(value) -> ::String
Parameter
  • value (::String) — A variable-length string value.
Returns
  • (::String) — A variable-length string value.

#template_variable

def template_variable() -> ::String
Returns
  • (::String) — 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.

#template_variable=

def template_variable=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.