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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.