Class: Google::Apis::JobsV3::CreateJobRequest

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

Overview

Input only. Create job request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateJobRequest

Returns a new instance of CreateJobRequest.



750
751
752
# File 'lib/google/apis/jobs_v3/classes.rb', line 750

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

Instance Attribute Details

#jobGoogle::Apis::JobsV3::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



748
749
750
# File 'lib/google/apis/jobs_v3/classes.rb', line 748

def job
  @job
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



755
756
757
# File 'lib/google/apis/jobs_v3/classes.rb', line 755

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