Class: Google::Apis::JobsV3::JobDerivedInfo
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::JobDerivedInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v3/classes.rb,
generated/google/apis/jobs_v3/representations.rb,
generated/google/apis/jobs_v3/representations.rb
Overview
Output only. Derived details about the job posting.
Instance Attribute Summary collapse
-
#job_categories ⇒ Array<String>
Job categories derived from Job.title and Job.description.
-
#locations ⇒ Array<Google::Apis::JobsV3::Location>
Structured locations of the job, resolved from Job.addresses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobDerivedInfo
constructor
A new instance of JobDerivedInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobDerivedInfo
Returns a new instance of JobDerivedInfo
1442 1443 1444 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1442 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job_categories ⇒ Array<String>
Job categories derived from Job.title and Job.description.
Corresponds to the JSON property jobCategories
1433 1434 1435 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1433 def job_categories @job_categories end |
#locations ⇒ Array<Google::Apis::JobsV3::Location>
Structured locations of the job, resolved from Job.addresses.
locations are exactly matched to Job.addresses in the same
order.
Corresponds to the JSON property locations
1440 1441 1442 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1440 def locations @locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1447 1448 1449 1450 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1447 def update!(**args) @job_categories = args[:job_categories] if args.key?(:job_categories) @locations = args[:locations] if args.key?(:locations) end |