Google Cloud Talent Solution V4 Client - Class Company (1.2.2)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class Company.

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.

Generated from protobuf message google.cloud.talent.v4.Company

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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".

↳ display_name string

Required. The display name of the company, for example, "Google LLC".

↳ external_id string

Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.

↳ size int

The employer's company size.

↳ 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.

↳ hiring_agency bool

Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.

↳ 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.

↳ 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.

↳ 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".

↳ image_uri string

A URI that hosts the employer's company logo.

↳ keyword_searchable_job_custom_attributes array

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward. 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.

↳ derived_info Google\Cloud\Talent\V4\Company\DerivedInfo

Output only. Derived details about the company.

↳ suspended bool

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.

getName

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".

Returns
TypeDescription
string

setName

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".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Required. The display name of the company, for example, "Google LLC".

Returns
TypeDescription
string

setDisplayName

Required. The display name of the company, for example, "Google LLC".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExternalId

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

Returns
TypeDescription
string

setExternalId

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSize

The employer's company size.

Returns
TypeDescription
int

setSize

The employer's company size.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getHeadquartersAddress

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.

Returns
TypeDescription
string

setHeadquartersAddress

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHiringAgency

Set to true if it is the hiring agency that post jobs for other employers.

Defaults to false if not provided.

Returns
TypeDescription
bool

setHiringAgency

Set to true if it is the hiring agency that post jobs for other employers.

Defaults to false if not provided.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEeoText

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.

Returns
TypeDescription
string

setEeoText

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWebsiteUri

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.

Returns
TypeDescription
string

setWebsiteUri

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCareerSiteUri

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

Returns
TypeDescription
string

setCareerSiteUri

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageUri

A URI that hosts the employer's company logo.

Returns
TypeDescription
string

setImageUri

A URI that hosts the employer's company logo.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKeywordSearchableJobCustomAttributes

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKeywordSearchableJobCustomAttributes

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDerivedInfo

Output only. Derived details about the company.

Returns
TypeDescription
Google\Cloud\Talent\V4\Company\DerivedInfo|null

hasDerivedInfo

clearDerivedInfo

setDerivedInfo

Output only. Derived details about the company.

Parameter
NameDescription
var Google\Cloud\Talent\V4\Company\DerivedInfo
Returns
TypeDescription
$this

getSuspended

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.

Returns
TypeDescription
bool

setSuspended

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.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this