Class: Google::Apis::MonitoringV3::Explicit
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::Explicit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.
Instance Attribute Summary collapse
-
#bounds ⇒ Array<Float>
The values must be monotonically increasing.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Explicit
constructor
A new instance of Explicit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Explicit
Returns a new instance of Explicit.
1346 1347 1348 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounds ⇒ Array<Float>
The values must be monotonically increasing.
Corresponds to the JSON property bounds
1344 1345 1346 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1344 def bounds @bounds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1351 1352 1353 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1351 def update!(**args) @bounds = args[:bounds] if args.key?(:bounds) end |