class Google::Apis::JobsV3p1beta1::HistogramQueryResult

Output only. Histogram result that matches HistogramSpec specified in searches.

Attributes

histogram[RW]

A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, “non- negative”)`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `-`, for example, `0-1000`, `MIN-0`, and `0-MAX`. Corresponds to the JSON property `histogram` @return [Hash<String,Fixnum>]

histogram_query[RW]

Requested histogram expression. Corresponds to the JSON property `histogramQuery` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3p1beta1/classes.rb, line 1083
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v3p1beta1/classes.rb, line 1088
def update!(**args)
  @histogram = args[:histogram] if args.key?(:histogram)
  @histogram_query = args[:histogram_query] if args.key?(:histogram_query)
end