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
- (::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Color) — The state color for this threshold. Color is not allowed in a XyChart.
#color=
def color=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Color
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Color) — The state color for this threshold. Color is not allowed in a XyChart.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Color) — The state color for this threshold. Color is not allowed in a XyChart.
#direction
def direction() -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction) — The direction for the current threshold. Direction is not allowed in a XyChart.
#direction=
def direction=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction) — The direction for the current threshold. Direction is not allowed in a XyChart.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction) — The direction for the current threshold. Direction is not allowed in a XyChart.
#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.