Class: Google::Api::Distribution::BucketOptions::Linear
- Inherits:
-
Object
- Object
- Google::Api::Distribution::BucketOptions::Linear
- Defined in:
- lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb
Overview
Specify a sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.
Defines +num_finite_buckets + 2+ (= N) buckets with these boundaries for bucket +i+:
Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).
Instance Attribute Summary collapse
-
#num_finite_buckets ⇒ Integer
Must be greater than 0.
-
#offset ⇒ Float
Lower bound of the first bucket.
-
#width ⇒ Float
Must be greater than 0.
Instance Attribute Details
#num_finite_buckets ⇒ Integer
Returns Must be greater than 0.
132 |
# File 'lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb', line 132 class Linear; end |
#offset ⇒ Float
Returns Lower bound of the first bucket.
132 |
# File 'lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb', line 132 class Linear; end |
#width ⇒ Float
Returns Must be greater than 0.
132 |
# File 'lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb', line 132 class Linear; end |