A Company resource in the Cloud Talent Solution API represents a single company. Any job belonging to that company refers to a job posting that is created for an open position in that company. It contains information such as the company name and address, as well as internal fields that tie the resource in the Cloud Talent Solution service back to your internal databases.
Create a company
To create a Company, send a POST request to the companies
endpoint, specifying
at least the two required fields. Refer to the Quickstart: Create companies and jobs page for details on how to create a company.
Java
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Python
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Go
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Required fields
The following fields are required in create/update requests:
displayName
: The name of the employer displayed with the job, for example, "Google LLC".externalId
: Your internal ID for this company. This field allows you to map your internal identifiers to the company in Google's system. If the company doesn't have a separate internal identifier, set this field to the same value asdisplayName
.
Commonly used fields
headquartersAddress
: The street address of the company's main headquarters, which may be different from the job location. Cloud Talent Solution only accepts a single HQ location per company. The service attempts to geolocate the address, and populates a more specific location when possible inderivedInfo.headquartersLocation
(which is output only).size
: A bucket value representing the size of the company in terms of number of employees, fromMINI
toGIANT
. See thesize
reference for enums and their definitions.eeoText
: A string containing the Equal Employment Opportunity legal disclaimer text to be associated with all jobs for this company.keywordSearchableJobCustomAttributes
: Specifies whichcustomAttributes
on this company's jobs should be indexed and searchable by general keyword search.
Update a company
To update a company, send a PATCH request to the following endpoint:
PATCH https://jobs.googleapis.com/v3/COMPANY_NAME
Where COMPANY_NAME
is the value of the name
field for the company. name
is the unique identifier of the company that is
returned at creation time and also by company.get
and list
requests.
The body of the request must contain the entire resource, including fields not being updated. These fields can be set in the updateMask
. If fields are set in the updateMask
, then only those fields are updated, and updates to other fields are ignored. If the updateMask
is not set, then all fields are updated.
Java
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Python
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Go
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Update Company with updateMask
Java
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Python
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Go
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Best practices
Confidential companies
In cases where you want to post a confidential job, we recommend
creating a separate company that mimics the company's fields,
but obfuscates the displayName
, externalId
, and any other
identifying fields.
In cases where the end employer should be anonymous (for example, the
Staffing Agency use case), we recommend setting the externalId
and
displayName
to random but unique values.