Updates specified job.
Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
HTTP request
PATCH https://jobs.googleapis.com/v4beta1/{job.name=projects/*/jobs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
job.name |
Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is "projects/{projectId}/tenants/{tenantId}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/jobs/bar". Use of this field in job queries and API calls is preferred over the use of |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{ "job": { "name": string, "company": string, "requisitionId": string, "title": string, "description": string, "addresses": [ string ], "applicationInfo": { "emails": [ string ], "instruction": string, "uris": [ string ] }, "jobBenefits": [ enum ( |
Fields | |
---|---|
job.company |
Required. The resource name of the company listing the job. The format is "projects/{projectId}/tenants/{tenantId}/companies/{company_id}". For example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar". |
job.requisitionId |
Required. The requisition ID, also referred to as the posting ID, is assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of postings. A job isn't allowed to be created if there is another job with the same The maximum number of allowed characters is 255. |
job.title |
Required. The title of the job, such as "Software Engineer" The maximum number of allowed characters is 500. |
job.description |
Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000. |
job.addresses[] |
Strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique The maximum number of allowed characters is 500. |
job.applicationInfo |
Job application information. |
job.jobBenefits[] |
The benefits included with the job. |
job.compensationInfo |
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee. |
job.customAttributes |
A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. The keys of the map are strings up to 64 bytes and must match the pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable |
job.degreeTypes[] |
The desired education degrees for the job, such as Bachelors, Masters. |
job.department |
The department or functional area within the company with the open position. The maximum number of allowed characters is 255. |
job.employmentTypes[] |
The employment type(s) of a job, for example, |
job.incentives |
A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000. |
job.languageCode |
The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see Tags for Identifying Languages{: class="external" target="_blank" }. If this field is unspecified and |
job.jobLevel |
The experience level associated with the job, such as "Entry Level". |
job.promotionValue |
A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0. |
job.qualifications |
A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000. |
job.responsibilities |
A description of job responsibilities. The use of this field is recommended as an alternative to using the more general This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000. |
job.postingRegion |
The job |
job.visibility |
Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to |
job.jobStartTime |
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored. |
job.jobEndTime |
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored. |
job.postingPublishTime |
The timestamp this job posting was most recently published. The default value is the time the request arrives at the server. Invalid timestamps are ignored. |
job.postingExpireTime |
Strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be listed by the The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum number of open jobs over previous 7 days. If this threshold is exceeded, expired jobs are cleaned out in order of earliest expire time. Expired jobs are no longer accessible after they are cleaned out. Invalid timestamps are ignored, and treated as expire time not provided. If the timestamp is before the instant request is made, the job is treated as expired immediately on creation. This kind of job can not be updated. And when creating a job with past timestamp, the If this value isn't provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value isn't provided on job update, it depends on the field masks set by |
job.postingCreateTime |
Output only. The timestamp when this job posting was created. |
job.postingUpdateTime |
Output only. The timestamp when this job posting was last updated. |
job.companyDisplayName |
Output only. Display name of the company listing the job. |
job.derivedInfo |
Output only. Derived details about the job posting. |
job.processingOptions |
Options for job processing. |
updateMask |
Strongly recommended for the best service experience. If A field mask to restrict the fields that are updated. Only top level fields of A comma-separated list of fully qualified names of fields. Example: |
Response body
If successful, the response body contains an instance of Job
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/jobs
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.