Class: Google::Apis::JobsV4::ProcessingOptions
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::ProcessingOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v4/classes.rb,
lib/google/apis/jobs_v4/representations.rb,
lib/google/apis/jobs_v4/representations.rb
Overview
Options for job processing.
Instance Attribute Summary collapse
-
#disable_street_address_resolution ⇒ Boolean
(also: #disable_street_address_resolution?)
If set to
true
, the service does not attempt to resolve a more precise address for the job. -
#html_sanitization ⇒ String
Option for job HTML content sanitization.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProcessingOptions
constructor
A new instance of ProcessingOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProcessingOptions
Returns a new instance of ProcessingOptions.
2009 2010 2011 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 2009 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 does not attempt to resolve a more precise
address for the job.
Corresponds to the JSON property disableStreetAddressResolution
1998 1999 2000 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1998 def disable_street_address_resolution @disable_street_address_resolution end |
#html_sanitization ⇒ String
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 isn't disabled.
Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
Corresponds to the JSON property htmlSanitization
2007 2008 2009 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 2007 def html_sanitization @html_sanitization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2014 2015 2016 2017 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 2014 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 |