Class: Google::Apis::JobsV2::GetHistogramResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetHistogramResponse

Returns a new instance of GetHistogramResponse



1434
1435
1436
# File 'generated/google/apis/jobs_v2/classes.rb', line 1434

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

Instance Attribute Details

#metadataGoogle::Apis::JobsV2::ResponseMetadata

Output only. Additional information returned to client, such as debugging information. Corresponds to the JSON property metadata



1427
1428
1429
# File 'generated/google/apis/jobs_v2/classes.rb', line 1427

def 
  @metadata
end

#resultsArray<Google::Apis::JobsV2::HistogramResult>

The Histogram results. Corresponds to the JSON property results



1432
1433
1434
# File 'generated/google/apis/jobs_v2/classes.rb', line 1432

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1439
1440
1441
1442
# File 'generated/google/apis/jobs_v2/classes.rb', line 1439

def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @results = args[:results] if args.key?(:results)
end