Class Google::Cloud::Monitoring::Dashboard::V1::Threshold (v0.6.6)

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.

#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.