Class: Google::Apis::CloudmonitoringV2beta2::PointDistributionBucket
- Inherits:
-
Object
- Object
- Google::Apis::CloudmonitoringV2beta2::PointDistributionBucket
- Defined in:
- generated/google/apis/cloudmonitoring_v2beta2/classes.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb
Overview
The histogram's bucket. Buckets that form the histogram of a distribution value. If the upper bound of a bucket, say U1, does not equal the lower bound of the next bucket, say L2, this means that there is no event in [U1, L2).
Instance Attribute Summary collapse
-
#count ⇒ String
The number of events whose values are in the interval defined by this bucket.
-
#lower_bound ⇒ Float
The lower bound of the value interval of this bucket (inclusive).
-
#upper_bound ⇒ Float
The upper bound of the value interval of this bucket (exclusive).
Instance Method Summary collapse
-
#initialize(**args) ⇒ PointDistributionBucket
constructor
A new instance of PointDistributionBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PointDistributionBucket
Returns a new instance of PointDistributionBucket.
455 456 457 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ String
The number of events whose values are in the interval defined by this bucket.
Corresponds to the JSON property count
443 444 445 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 443 def count @count end |
#lower_bound ⇒ Float
The lower bound of the value interval of this bucket (inclusive).
Corresponds to the JSON property lowerBound
448 449 450 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 448 def lower_bound @lower_bound end |
#upper_bound ⇒ Float
The upper bound of the value interval of this bucket (exclusive).
Corresponds to the JSON property upperBound
453 454 455 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 453 def upper_bound @upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
460 461 462 463 464 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 460 def update!(**args) @count = args[:count] if args.key?(:count) @lower_bound = args[:lower_bound] if args.key?(:lower_bound) @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end |