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

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

Overview

Input only. Create job 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) ⇒ CreateJobRequest

Returns a new instance of CreateJobRequest



814
815
816
# File 'generated/google/apis/jobs_v3/classes.rb', line 814

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



812
813
814
# File 'generated/google/apis/jobs_v3/classes.rb', line 812

def job
  @job
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



819
820
821
# File 'generated/google/apis/jobs_v3/classes.rb', line 819

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