Class: Google::Apis::JobsV3::HistogramResults

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/jobs_v3/classes.rb,
lib/google/apis/jobs_v3/representations.rb,
lib/google/apis/jobs_v3/representations.rb

Overview

Output only. Histogram results that match HistogramFacets specified in SearchJobsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HistogramResults

Returns a new instance of HistogramResults.



1003
1004
1005
# File 'lib/google/apis/jobs_v3/classes.rb', line 1003

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#compensation_histogram_resultsArray<Google::Apis::JobsV3::CompensationHistogramResult>

Specifies compensation field-based histogram results that match HistogramFacets.compensation_histogram_requests. Corresponds to the JSON property compensationHistogramResults



989
990
991
# File 'lib/google/apis/jobs_v3/classes.rb', line 989

def compensation_histogram_results
  @compensation_histogram_results
end

#custom_attribute_histogram_resultsArray<Google::Apis::JobsV3::CustomAttributeHistogramResult>

Specifies histogram results for custom attributes that match HistogramFacets. custom_attribute_histogram_facets. Corresponds to the JSON property customAttributeHistogramResults



995
996
997
# File 'lib/google/apis/jobs_v3/classes.rb', line 995

def custom_attribute_histogram_results
  @custom_attribute_histogram_results
end

#simple_histogram_resultsArray<Google::Apis::JobsV3::HistogramResult>

Specifies histogram results that matches HistogramFacets. simple_histogram_facets. Corresponds to the JSON property simpleHistogramResults



1001
1002
1003
# File 'lib/google/apis/jobs_v3/classes.rb', line 1001

def simple_histogram_results
  @simple_histogram_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1008
1009
1010
1011
1012
# File 'lib/google/apis/jobs_v3/classes.rb', line 1008

def update!(**args)
  @compensation_histogram_results = args[:compensation_histogram_results] if args.key?(:compensation_histogram_results)
  @custom_attribute_histogram_results = args[:custom_attribute_histogram_results] if args.key?(:custom_attribute_histogram_results)
  @simple_histogram_results = args[:simple_histogram_results] if args.key?(:simple_histogram_results)
end