class Google::Apis::JobsV3p1beta1::HistogramResult

Output only. Result of a histogram call. The response contains the histogram map for the search type specified by HistogramResult.field. The response is a map of each filter value to the corresponding count of jobs for that filter.

Attributes

search_type[RW]

The Histogram search filters. Corresponds to the JSON property `searchType` @return [String]

values[RW]

A map from the values of field to the number of jobs with that value in this search result. Key: search type (filter names, such as the companyName). Values: the count of jobs that match the filter for this search. Corresponds to the JSON property `values` @return [Hash<String,Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3p1beta1/classes.rb, line 1112
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 1117
def update!(**args)
  @search_type = args[:search_type] if args.key?(:search_type)
  @values = args[:values] if args.key?(:values)
end