class Google::Apis::JobsV3p1beta1::NumericBucketingOption
Input only. Use this field to specify bucketing option for the histogram search response.
Attributes
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. Corresponds to the JSON property `bucketBounds` @return [Array<Float>]
Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field. Corresponds to the JSON property `requiresMinMax` @return [Boolean]
Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field. Corresponds to the JSON property `requiresMinMax` @return [Boolean]
Public Class Methods
# File lib/google/apis/jobs_v3p1beta1/classes.rb, line 2131 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/jobs_v3p1beta1/classes.rb, line 2136 def update!(**args) @bucket_bounds = args[:bucket_bounds] if args.key?(:bucket_bounds) @requires_min_max = args[:requires_min_max] if args.key?(:requires_min_max) end