Class: Google::Apis::JobsV3::ProcessingOptions

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. Options for job processing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProcessingOptions

Returns a new instance of ProcessingOptions.



2028
2029
2030
# File 'lib/google/apis/jobs_v3/classes.rb', line 2028

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

Instance Attribute Details

#disable_street_address_resolutionBoolean Also known as: disable_street_address_resolution?

Optional. If set to true, the service does not attempt to resolve a more precise address for the job. Corresponds to the JSON property disableStreetAddressResolution

Returns:

  • (Boolean)


2017
2018
2019
# File 'lib/google/apis/jobs_v3/classes.rb', line 2017

def disable_street_address_resolution
  @disable_street_address_resolution
end

#html_sanitizationString

Optional. Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation is not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY. Corresponds to the JSON property htmlSanitization

Returns:

  • (String)


2026
2027
2028
# File 'lib/google/apis/jobs_v3/classes.rb', line 2026

def html_sanitization
  @html_sanitization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2033
2034
2035
2036
# File 'lib/google/apis/jobs_v3/classes.rb', line 2033

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