Class: Google::Apis::JobsV3p1beta1::UpdateJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3p1beta1::UpdateJobRequest
- 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. Update job request.
Instance Attribute Summary collapse
-
#job ⇒ Google::Apis::JobsV3p1beta1::Job
A Job resource represents a job posting (also referred to as a "job listing" or "job requisition").
-
#update_mask ⇒ String
Optional but strongly recommended to be provided for the best service experience.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateJobRequest
constructor
A new instance of UpdateJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateJobRequest
Returns a new instance of UpdateJobRequest.
2771 2772 2773 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job ⇒ Google::Apis::JobsV3p1beta1::Job
A Job resource represents a job posting (also referred to as a "job listing"
or "job requisition"). A job belongs to a Company, which is the hiring entity
responsible for the job.
Corresponds to the JSON property job
2761 2762 2763 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2761 def job @job end |
#update_mask ⇒ String
Optional but strongly recommended to be provided for the best service
experience. If update_mask is provided, only the specified fields in job are
updated. Otherwise all the fields are updated. A field mask to restrict the
fields that are updated. Only top level fields of Job are supported.
Corresponds to the JSON property updateMask
2769 2770 2771 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2769 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2776 2777 2778 2779 |
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2776 def update!(**args) @job = args[:job] if args.key?(:job) @update_mask = args[:update_mask] if args.key?(:update_mask) end |