Class: Google::Apis::JobsV2::HistogramResults
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::HistogramResults
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
 generated/google/apis/jobs_v2/representations.rb,
 generated/google/apis/jobs_v2/representations.rb
Overview
Output only. Histogram results that matches HistogramFacets specified in SearchJobsRequest.
Instance Attribute Summary collapse
- 
  
    
      #compensation_histogram_results  ⇒ Array<Google::Apis::JobsV2::CompensationHistogramResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies compensation field-based histogram results that matches HistogramFacets.compensation_histogram_requests. 
- 
  
    
      #custom_attribute_histogram_results  ⇒ Array<Google::Apis::JobsV2::CustomAttributeHistogramResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies histogram results for custom attributes that matches HistogramFacets.custom_attribute_histogram_facets. 
- 
  
    
      #simple_histogram_results  ⇒ Array<Google::Apis::JobsV2::HistogramResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies histogram results that matches HistogramFacets.simple_histogram_facets. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HistogramResults 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HistogramResults. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HistogramResults
Returns a new instance of HistogramResults
| 1521 1522 1523 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1521 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#compensation_histogram_results ⇒ Array<Google::Apis::JobsV2::CompensationHistogramResult>
Specifies compensation field-based histogram results that matches
HistogramFacets.compensation_histogram_requests.
Corresponds to the JSON property compensationHistogramResults
| 1507 1508 1509 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1507 def compensation_histogram_results @compensation_histogram_results end | 
#custom_attribute_histogram_results ⇒ Array<Google::Apis::JobsV2::CustomAttributeHistogramResult>
Specifies histogram results for custom attributes that
matches HistogramFacets.custom_attribute_histogram_facets.
Corresponds to the JSON property customAttributeHistogramResults
| 1513 1514 1515 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1513 def custom_attribute_histogram_results @custom_attribute_histogram_results end | 
#simple_histogram_results ⇒ Array<Google::Apis::JobsV2::HistogramResult>
Specifies histogram results that matches
HistogramFacets.simple_histogram_facets.
Corresponds to the JSON property simpleHistogramResults
| 1519 1520 1521 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1519 def simple_histogram_results @simple_histogram_results end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1526 1527 1528 1529 1530 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1526 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 |