GoogleApi.ServiceControl.V1.Model.LinearBuckets (google_api_service_control v0.36.4) View Source

Describing buckets with constant width.

Attributes

  • numFiniteBuckets (type: integer(), default: nil) - 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.
  • offset (type: float(), default: nil) - The i'th linear bucket covers the interval [offset + (i-1) width, offset + i width) where i ranges from 1 to num_finite_buckets, inclusive.
  • width (type: float(), default: nil) - The i'th linear bucket covers the interval [offset + (i-1) width, offset + i width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceControl.V1.Model.LinearBuckets{
  numFiniteBuckets: integer() | nil,
  offset: float() | nil,
  width: float() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.