Class: Google::Apis::JobsV4::Company
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::Company
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v4/classes.rb,
generated/google/apis/jobs_v4/representations.rb,
generated/google/apis/jobs_v4/representations.rb
Overview
A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.
Instance Attribute Summary collapse
-
#career_site_uri ⇒ String
The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".
-
#derived_info ⇒ Google::Apis::JobsV4::CompanyDerivedInfo
Derived details about the company.
-
#display_name ⇒ String
Required.
-
#eeo_text ⇒ String
Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.
-
#external_id ⇒ String
Required.
-
#headquarters_address ⇒ String
The street address of the company's main headquarters, which may be different from the job location.
-
#hiring_agency ⇒ Boolean
(also: #hiring_agency?)
Set to true if it is the hiring agency that post jobs for other employers.
-
#image_uri ⇒ String
A URI that hosts the employer's company logo.
-
#keyword_searchable_job_custom_attributes ⇒ Array<String>
A list of keys of filterable Job.custom_attributes, whose corresponding
string_values
are used in keyword searches. -
#name ⇒ String
Required during company update.
-
#size ⇒ String
The employer's company size.
-
#suspended ⇒ Boolean
(also: #suspended?)
Output only.
-
#website_uri ⇒ String
The URI representing the company's primary web site or home page, for example, "https://www.google.com".
Instance Method Summary collapse
-
#initialize(**args) ⇒ Company
constructor
A new instance of Company.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Company
Returns a new instance of Company.
492 493 494 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#career_site_uri ⇒ String
The URI to employer's career site or careers page on the employer's web site,
for example, "https://careers.google.com".
Corresponds to the JSON property careerSiteUri
410 411 412 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 410 def career_site_uri @career_site_uri end |
#derived_info ⇒ Google::Apis::JobsV4::CompanyDerivedInfo
Derived details about the company.
Corresponds to the JSON property derivedInfo
415 416 417 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 415 def derived_info @derived_info end |
#display_name ⇒ String
Required. The display name of the company, for example, "Google LLC".
Corresponds to the JSON property displayName
420 421 422 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 420 def display_name @display_name end |
#eeo_text ⇒ String
Equal Employment Opportunity legal disclaimer text to be associated with all
jobs, and typically to be displayed in all roles. The maximum number of
allowed characters is 500.
Corresponds to the JSON property eeoText
427 428 429 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 427 def eeo_text @eeo_text end |
#external_id ⇒ String
Required. Client side company identifier, used to uniquely identify the
company. The maximum number of allowed characters is 255.
Corresponds to the JSON property externalId
433 434 435 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 433 def external_id @external_id end |
#headquarters_address ⇒ String
The street address of the company's main headquarters, which may be different
from the job location. The service attempts to geolocate the provided address,
and populates a more specific location wherever possible in DerivedInfo.
headquarters_location.
Corresponds to the JSON property headquartersAddress
441 442 443 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 441 def headquarters_address @headquarters_address end |
#hiring_agency ⇒ Boolean Also known as: hiring_agency?
Set to true if it is the hiring agency that post jobs for other employers.
Defaults to false if not provided.
Corresponds to the JSON property hiringAgency
447 448 449 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 447 def hiring_agency @hiring_agency end |
#image_uri ⇒ String
A URI that hosts the employer's company logo.
Corresponds to the JSON property imageUri
453 454 455 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 453 def image_uri @image_uri end |
#keyword_searchable_job_custom_attributes ⇒ Array<String>
A list of keys of filterable Job.custom_attributes, whose corresponding
string_values
are used in keyword searches. Jobs with string_values
under
these specified field keys are returned if any of the values match the search
keyword. Custom field values with parenthesis, brackets and special symbols
are not searchable as-is, and those keyword queries must be surrounded by
quotes.
Corresponds to the JSON property keywordSearchableJobCustomAttributes
463 464 465 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 463 def keyword_searchable_job_custom_attributes @keyword_searchable_job_custom_attributes end |
#name ⇒ String
Required during company update. The resource name for a company. This is
generated by the service when a company is created. The format is "projects/
project_id
/tenants/tenant_id
/companies/company_id
", for example, "
projects/foo/tenants/bar/companies/baz".
Corresponds to the JSON property name
471 472 473 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 471 def name @name end |
#size ⇒ String
The employer's company size.
Corresponds to the JSON property size
476 477 478 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 476 def size @size end |
#suspended ⇒ Boolean Also known as: suspended?
Output only. Indicates whether a company is flagged to be suspended from
public availability by the service when job content appears suspicious,
abusive, or spammy.
Corresponds to the JSON property suspended
483 484 485 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 483 def suspended @suspended end |
#website_uri ⇒ String
The URI representing the company's primary web site or home page, for example,
"https://www.google.com". The maximum number of allowed characters is 255.
Corresponds to the JSON property websiteUri
490 491 492 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 490 def website_uri @website_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 |
# File 'generated/google/apis/jobs_v4/classes.rb', line 497 def update!(**args) @career_site_uri = args[:career_site_uri] if args.key?(:career_site_uri) @derived_info = args[:derived_info] if args.key?(:derived_info) @display_name = args[:display_name] if args.key?(:display_name) @eeo_text = args[:eeo_text] if args.key?(:eeo_text) @external_id = args[:external_id] if args.key?(:external_id) @headquarters_address = args[:headquarters_address] if args.key?(:headquarters_address) @hiring_agency = args[:hiring_agency] if args.key?(:hiring_agency) @image_uri = args[:image_uri] if args.key?(:image_uri) @keyword_searchable_job_custom_attributes = args[:keyword_searchable_job_custom_attributes] if args.key?(:keyword_searchable_job_custom_attributes) @name = args[:name] if args.key?(:name) @size = args[:size] if args.key?(:size) @suspended = args[:suspended] if args.key?(:suspended) @website_uri = args[:website_uri] if args.key?(:website_uri) end |