Class: Google::Apis::JobsV3p1beta1::CreateJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3p1beta1::CreateJobRequest
- 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. Create 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").
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateJobRequest
constructor
A new instance of CreateJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateJobRequest
Returns a new instance of CreateJobRequest.
749 750 751 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 749 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
747 748 749 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 747 def job @job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
754 755 756 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 754 def update!(**args) @job = args[:job] if args.key?(:job) end |