Class: Google::Apis::JobsV2::UpdateJobRequest

Inherits:
Object
  • Object
show all
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.

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) ⇒ UpdateJobRequest

Returns a new instance of UpdateJobRequest.



3500
3501
3502
# File 'generated/google/apis/jobs_v2/classes.rb', line 3500

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

Instance Attribute Details

#disable_street_address_resolutionBoolean Also known as: disable_street_address_resolution?

Deprecated. Please use processing_options. This flag is ignored if processing_options is set. Optional. If set to true, the service does not attempt resolve a more precise address for the job. Corresponds to the JSON property disableStreetAddressResolution

Returns:

  • (Boolean)


3448
3449
3450
# File 'generated/google/apis/jobs_v2/classes.rb', line 3448

def disable_street_address_resolution
  @disable_street_address_resolution
end

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



3456
3457
3458
# File 'generated/google/apis/jobs_v2/classes.rb', line 3456

def job
  @job
end

#processing_optionsGoogle::Apis::JobsV2::JobProcessingOptions

Input only. Options for job processing. Corresponds to the JSON property processingOptions



3462
3463
3464
# File 'generated/google/apis/jobs_v2/classes.rb', line 3462

def processing_options
  @processing_options
end

#update_job_fieldsString

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

Returns:

  • (String)


3498
3499
3500
# File 'generated/google/apis/jobs_v2/classes.rb', line 3498

def update_job_fields
  @update_job_fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3505
3506
3507
3508
3509
3510
# File 'generated/google/apis/jobs_v2/classes.rb', line 3505

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)
  @processing_options = args[:processing_options] if args.key?(:processing_options)
  @update_job_fields = args[:update_job_fields] if args.key?(:update_job_fields)
end