Class: Google::Apis::JobsV2::JobProcessingOptions
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::JobProcessingOptions
- 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. Options for job processing.
Instance Attribute Summary collapse
-
#disable_street_address_resolution ⇒ Boolean
(also: #disable_street_address_resolution?)
Optional.
-
#html_sanitization ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobProcessingOptions
constructor
A new instance of JobProcessingOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobProcessingOptions
Returns a new instance of JobProcessingOptions
2278 2279 2280 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 2278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_street_address_resolution ⇒ Boolean 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
2262 2263 2264 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 2262 def disable_street_address_resolution @disable_street_address_resolution end |
#html_sanitization ⇒ String
Optional. Option for job HTML content sanitization. Applied fields are:
- description
- applicationInstruction
- 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
2276 2277 2278 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 2276 def html_sanitization @html_sanitization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2283 2284 2285 2286 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 2283 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 |