Class: Google::Apis::JobsV3p1beta1::CompensationHistogramRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v3p1beta1/classes.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb

Overview

Input only. Compensation based histogram request.

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) ⇒ CompensationHistogramRequest

Returns a new instance of CompensationHistogramRequest



599
600
601
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 599

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

Instance Attribute Details

#bucketing_optionGoogle::Apis::JobsV3p1beta1::NumericBucketingOption

Input only. Use this field to specify bucketing option for the histogram search response. Corresponds to the JSON property bucketingOption



589
590
591
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 589

def bucketing_option
  @bucketing_option
end

#typeString

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

Returns:

  • (String)


597
598
599
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 597

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



604
605
606
607
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 604

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