View Source GoogleApi.Dataflow.V1b3.Model.Base2Exponent (google_api_dataflow v0.46.1)

Exponential buckets where the growth factor between buckets is 2**(2**-scale). e.g. for scale=1 growth factor is 2**(2**(-1))=sqrt(2). n buckets will have the following boundaries. - 0th: [0, gf) - i in [1, n-1]: [gf^(i), gf^(i+1))

Attributes

  • numberOfBuckets (type: integer(), default: nil) - Must be greater than 0.
  • scale (type: integer(), default: nil) - Must be between -3 and 3. This forces the growth factor of the bucket boundaries to be between 2^(1/8) and 256.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataflow.V1b3.Model.Base2Exponent{
  numberOfBuckets: integer() | nil,
  scale: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.