Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::Distribution::ExponentialBuckets (v1.4.1)

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 on bucket_options for 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 on bucket_options for 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 on bucket_options for 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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.