View Source GoogleApi.Logging.V2.Model.Linear (google_api_logging v0.47.0)

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width i).Lower bound (1 <= i < N): offset + (width (i - 1)).

Attributes

  • numFiniteBuckets (type: integer(), default: nil) - Must be greater than 0.
  • offset (type: float(), default: nil) - Lower bound of the first bucket.
  • width (type: float(), default: nil) - Must be greater than 0.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Logging.V2.Model.Linear{
  numFiniteBuckets: integer() | nil,
  offset: float() | nil,
  width: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.