View Source GoogleApi.Jobs.V2.Model.NumericBucketingOption (google_api_jobs v0.20.0)

Input only.

Use this field to specify bucketing option for the histogram search response.

Attributes

  • bucketBounds (type: list(float()), default: nil) - Required. Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is supported.
  • requiresMinMax (type: boolean(), default: nil) - Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Jobs.V2.Model.NumericBucketingOption{
  bucketBounds: [float()],
  requiresMinMax: boolean()
}

Functions

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

Unwrap a decoded JSON object into its complex fields.