Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::Distribution::ExponentialBuckets (v1.4.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::Distribution::ExponentialBuckets.
Describing buckets with exponentially growing width.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#growth_factor
defgrowth_factor()->::Float
Returns
- (::Float) — The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
#growth_factor=
defgrowth_factor=(value)->::Float
Parameter
- value (::Float) — The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
Returns
- (::Float) — The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
#num_finite_buckets
defnum_finite_buckets()->::Integer
Returns
-
(::Integer) — The number of finite buckets. With the underflow and overflow buckets,
the total number of buckets is
num_finite_buckets+ 2. See comments onbucket_optionsfor details.
#num_finite_buckets=
defnum_finite_buckets=(value)->::Integer
Parameter
-
value (::Integer) — The number of finite buckets. With the underflow and overflow buckets,
the total number of buckets is
num_finite_buckets+ 2. See comments onbucket_optionsfor details.
Returns
-
(::Integer) — The number of finite buckets. With the underflow and overflow buckets,
the total number of buckets is
num_finite_buckets+ 2. See comments onbucket_optionsfor details.
#scale
defscale()->::Float
Returns
- (::Float) — The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.
#scale=
defscale=(value)->::Float
Parameter
- value (::Float) — The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.
Returns
- (::Float) — The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.