Class: Google::Apis::JobsV2::GetHistogramResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::GetHistogramResponse
 
- 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
Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Output only. The response of the GetHistogram method.
Instance Attribute Summary collapse
- 
  
    
      #metadata  ⇒ Google::Apis::JobsV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #results  ⇒ Array<Google::Apis::JobsV2::HistogramResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Histogram results. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GetHistogramResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GetHistogramResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetHistogramResponse
Returns a new instance of GetHistogramResponse
| 1416 1417 1418 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1416 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#metadata ⇒ Google::Apis::JobsV2::ResponseMetadata
Output only.
Additional information returned to client, such as debugging
information.
Corresponds to the JSON property metadata
| 1409 1410 1411 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1409 def @metadata end | 
#results ⇒ Array<Google::Apis::JobsV2::HistogramResult>
The Histogram results.
Corresponds to the JSON property results
| 1414 1415 1416 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1414 def results @results end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1421 1422 1423 1424 | # File 'generated/google/apis/jobs_v2/classes.rb', line 1421 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @results = args[:results] if args.key?(:results) end |