Class: Google::Apis::JobsV3p1beta1::CompensationHistogramRequest
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3p1beta1::CompensationHistogramRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v3p1beta1/classes.rb,
lib/google/apis/jobs_v3p1beta1/representations.rb,
lib/google/apis/jobs_v3p1beta1/representations.rb
Overview
Input only. Compensation based histogram request.
Instance Attribute Summary collapse
-
#bucketing_option ⇒ Google::Apis::JobsV3p1beta1::NumericBucketingOption
Input only.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompensationHistogramRequest
constructor
A new instance of CompensationHistogramRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompensationHistogramRequest
Returns a new instance of CompensationHistogramRequest.
544 545 546 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 544 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucketing_option ⇒ Google::Apis::JobsV3p1beta1::NumericBucketingOption
Input only. Use this field to specify bucketing option for the histogram
search response.
Corresponds to the JSON property bucketingOption
535 536 537 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 535 def bucketing_option @bucketing_option end |
#type ⇒ String
Required. Type of the request, representing which field the histogramming
should be performed over. A single request can only specify one histogram of
each CompensationHistogramRequestType
.
Corresponds to the JSON property type
542 543 544 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 542 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
549 550 551 552 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 549 def update!(**args) @bucketing_option = args[:bucketing_option] if args.key?(:bucketing_option) @type = args[:type] if args.key?(:type) end |