Class: Google::Apis::JobsV2::UpdateJobRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::UpdateJobRequest
 
- 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. Update 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 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"). 
- 
  
    
      #update_job_fields  ⇒ 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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateJobRequest
Returns a new instance of UpdateJobRequest
| 3365 3366 3367 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3365 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 resolve a more precise
address for the job.
Corresponds to the JSON property disableStreetAddressResolution
| 3319 3320 3321 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3319 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
| 3327 3328 3329 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3327 def job @job end | 
#update_job_fields ⇒ String
Optional but strongly recommended to be provided for the best service experience. If update_job_fields 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. Valid values are:
- jobTitle
- employmentTypes
- description
- applicationUrls
- applicationEmailList
- applicationInstruction
- responsibilities
- qualifications
- educationLevels
- level
- department
- startDate
- endDate
- compensationInfo
- incentives
- languageCode
- benefits
- expireTime
- customAttributes
- visibility
- publishDate
- promotionValue
- locations
- region
- expiryDate (deprecated)
- filterableCustomFields (deprecated)
- unindexedCustomFields (deprecated)
Corresponds to the JSON property updateJobFields
| 3363 3364 3365 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3363 def update_job_fields @update_job_fields end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3370 3371 3372 3373 3374 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3370 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) @update_job_fields = args[:update_job_fields] if args.key?(:update_job_fields) end |