Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::Threshold (v0.9.1)

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

Defines a threshold for categorizing time series values.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#color

def color() -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Color
Returns

#color=

def color=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Color
Parameter
Returns

#direction

def direction() -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction
Returns

#direction=

def direction=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction
Parameter
Returns

#label

def label() -> ::String
Returns
  • (::String) — A label for the threshold.

#label=

def label=(value) -> ::String
Parameter
  • value (::String) — A label for the threshold.
Returns
  • (::String) — A label for the threshold.

#target_axis

def target_axis() -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::TargetAxis
Returns

#target_axis=

def target_axis=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::TargetAxis
Parameter
Returns

#value

def value() -> ::Float
Returns
  • (::Float) — The value of the threshold. The value should be defined in the native scale of the metric.

#value=

def value=(value) -> ::Float
Parameter
  • value (::Float) — The value of the threshold. The value should be defined in the native scale of the metric.
Returns
  • (::Float) — The value of the threshold. The value should be defined in the native scale of the metric.