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

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

def growth_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=

def growth_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

def num_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=

def num_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

def scale() -> ::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=

def scale=(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.