Class: Google::Apis::JobsV2::CreateJobRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::CreateJobRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
 generated/google/apis/jobs_v2/representations.rb,
 generated/google/apis/jobs_v2/representations.rb
Overview
Input only. Create job request. The job typically becomes searchable within 10 seconds, but it may take up to 5 minutes for the job to become searchable.
Instance Attribute Summary collapse
- 
  
    
      #disable_street_address_resolution  ⇒ Boolean 
    
    
      (also: #disable_street_address_resolution?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If set to true, the service will not attempt to resolve a more precise address for the job.
- 
  
    
      #job  ⇒ Google::Apis::JobsV2::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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateJobRequest
Returns a new instance of CreateJobRequest
| 759 760 761 | # File 'generated/google/apis/jobs_v2/classes.rb', line 759 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#disable_street_address_resolution ⇒ Boolean Also known as: disable_street_address_resolution?
If set to true, the service will not attempt to resolve a
more precise address for the job.
Corresponds to the JSON property disableStreetAddressResolution
| 749 750 751 | # File 'generated/google/apis/jobs_v2/classes.rb', line 749 def disable_street_address_resolution @disable_street_address_resolution end | 
#job ⇒ Google::Apis::JobsV2::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
| 757 758 759 | # File 'generated/google/apis/jobs_v2/classes.rb', line 757 def job @job end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 764 765 766 767 | # File 'generated/google/apis/jobs_v2/classes.rb', line 764 def update!(**args) @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution) @job = args[:job] if args.key?(:job) end |