Class: Google::Apis::JobsV3p1beta1::JobDerivedInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v3p1beta1/classes.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb

Overview

Output only. Derived details about the job posting.

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

Returns a new instance of JobDerivedInfo



1613
1614
1615
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1613

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

Instance Attribute Details

#job_categoriesArray<String>

Job categories derived from Job.title and Job.description. Corresponds to the JSON property jobCategories

Returns:

  • (Array<String>)


1604
1605
1606
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1604

def job_categories
  @job_categories
end

#locationsArray<Google::Apis::JobsV3p1beta1::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



1611
1612
1613
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1611

def locations
  @locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1618
1619
1620
1621
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 1618

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