View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleApiDistributionBucketOptionsExponential (google_api_discovery_engine v0.27.0)

Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a 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): scale (growth_factor ^ i). Lower bound (1 <= i < N): scale (growth_factor ^ (i - 1)).

Attributes

  • growthFactor (type: float(), default: nil) - Must be greater than 1.
  • numFiniteBuckets (type: integer(), default: nil) - Must be greater than 0.
  • scale (type: float(), default: nil) - Must be greater than 0.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleApiDistributionBucketOptionsExponential{
    growthFactor: float() | nil,
    numFiniteBuckets: integer() | nil,
    scale: float() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.