class Google::Apis::MonitoringV1::GaugeView
A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive).
Attributes
lower_bound[RW]
The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. Corresponds to the JSON property `lowerBound` @return [Float]
upper_bound[RW]
The upper bound for this gauge chart. The value of the chart should always be less than or equal to this. Corresponds to the JSON property `upperBound` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v1/classes.rb, line 488 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v1/classes.rb, line 493 def update!(**args) @lower_bound = args[:lower_bound] if args.key?(:lower_bound) @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end