Class: Google::Apis::JobsV2::HistogramFacets
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::HistogramFacets
 
- 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
Input only. Histogram facets to be specified in SearchJobsRequest.
Instance Attribute Summary collapse
- 
  
    
      #compensation_histogram_facets  ⇒ Array<Google::Apis::JobsV2::CompensationHistogramRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #custom_attribute_histogram_facets  ⇒ Array<Google::Apis::JobsV2::CustomAttributeHistogramRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #simple_histogram_facets  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HistogramFacets 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HistogramFacets. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HistogramFacets
Returns a new instance of HistogramFacets
| 1453 1454 1455 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1453 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#compensation_histogram_facets ⇒ Array<Google::Apis::JobsV2::CompensationHistogramRequest>
Optional.
Specifies compensation field-based histogram requests.
Duplicate CompensationHistogramRequest.types are not allowed.
Corresponds to the JSON property compensationHistogramFacets
| 1437 1438 1439 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1437 def compensation_histogram_facets @compensation_histogram_facets end | 
#custom_attribute_histogram_facets ⇒ Array<Google::Apis::JobsV2::CustomAttributeHistogramRequest>
Optional.
Specifies the custom attributes histogram requests.
Duplicate CustomAttributeHistogramRequest.keys are not allowed.
Corresponds to the JSON property customAttributeHistogramFacets
| 1444 1445 1446 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1444 def custom_attribute_histogram_facets @custom_attribute_histogram_facets end | 
#simple_histogram_facets ⇒ Array<String>
Optional. Specifies the simple type of histogram facets, e.g,
COMPANY_SIZE, EMPLOYMENT_TYPE etc. This field is equivalent to
GetHistogramRequest.
Corresponds to the JSON property simpleHistogramFacets
| 1451 1452 1453 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1451 def simple_histogram_facets @simple_histogram_facets end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1458 1459 1460 1461 1462 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1458 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 |