class Google::Apis::JobsV3::HistogramFacets

Input only. Histogram facets to be specified in SearchJobsRequest.

Attributes

compensation_histogram_facets[RW]

Optional. Specifies compensation field-based histogram requests. Duplicate values of CompensationHistogramRequest.type are not allowed. Corresponds to the JSON property `compensationHistogramFacets` @return [Array<Google::Apis::JobsV3::CompensationHistogramRequest>]

custom_attribute_histogram_facets[RW]

Optional. Specifies the custom attributes histogram requests. Duplicate values of CustomAttributeHistogramRequest.key are not allowed. Corresponds to the JSON property `customAttributeHistogramFacets` @return [Array<Google::Apis::JobsV3::CustomAttributeHistogramRequest>]

simple_histogram_facets[RW]

Optional. Specifies the simple type of histogram facets, for example, ` COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. Corresponds to the JSON property `simpleHistogramFacets` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v3/classes.rb, line 939
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_v3/classes.rb, line 944
def update!(**args)
  @compensation_histogram_facets = args[:compensation_histogram_facets] if args.key?(:compensation_histogram_facets)
  @custom_attribute_histogram_facets = args[:custom_attribute_histogram_facets] if args.key?(:custom_attribute_histogram_facets)
  @simple_histogram_facets = args[:simple_histogram_facets] if args.key?(:simple_histogram_facets)
end