class ProjectsTenantsJobs extends Resource (View source)

The "jobs" collection of methods.

Typical usage is:

 $jobsService = new Google\Service\CloudTalentSolution(...);
 $jobs = $jobsService->projects_tenants_jobs;

Methods

batchCreate(string $parent, BatchCreateJobsRequest $postBody, array $optParams = [])

Begins executing a batch create jobs operation. (jobs.batchCreate)

batchDelete(string $parent, BatchDeleteJobsRequest $postBody, array $optParams = [])

Begins executing a batch delete jobs operation. (jobs.batchDelete)

batchUpdate(string $parent, BatchUpdateJobsRequest $postBody, array $optParams = [])

Begins executing a batch update jobs operation. (jobs.batchUpdate)

Job
create(string $parent, Job $postBody, array $optParams = [])

Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes. (jobs.create)

delete(string $name, array $optParams = [])

Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. (jobs.delete)

Job
get(string $name, array $optParams = [])

Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days. (jobs.get)

listProjectsTenantsJobs(string $parent, array $optParams = [])

Lists jobs by filter. (jobs.listProjectsTenantsJobs)

Job
patch(string $name, Job $postBody, array $optParams = [])

Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes. (jobs.patch)

search(string $parent, SearchJobsRequest $postBody, array $optParams = [])

Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against. (jobs.search)

searchForAlert(string $parent, SearchJobsRequest $postBody, array $optParams = [])

Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), it has different algorithmic adjustments that are designed to specifically target passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against. (jobs.searchForAlert)

Details

Operation batchCreate(string $parent, BatchCreateJobsRequest $postBody, array $optParams = [])

Begins executing a batch create jobs operation. (jobs.batchCreate)

Parameters

string $parent

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

BatchCreateJobsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation batchDelete(string $parent, BatchDeleteJobsRequest $postBody, array $optParams = [])

Begins executing a batch delete jobs operation. (jobs.batchDelete)

Parameters

string $parent

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar". The parent of all of the jobs specified in names must match this field.

BatchDeleteJobsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation batchUpdate(string $parent, BatchUpdateJobsRequest $postBody, array $optParams = [])

Begins executing a batch update jobs operation. (jobs.batchUpdate)

Parameters

string $parent

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

BatchUpdateJobsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Job create(string $parent, Job $postBody, array $optParams = [])

Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes. (jobs.create)

Parameters

string $parent

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

Job $postBody
array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

JobsEmpty delete(string $name, array $optParams = [])

Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. (jobs.delete)

Parameters

string $name

Required. The resource name of the job to be deleted. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

array $optParams

Optional parameters.

Return Value

JobsEmpty

Exceptions

Exception

Job get(string $name, array $optParams = [])

Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days. (jobs.get)

Parameters

string $name

Required. The resource name of the job to retrieve. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

ListJobsResponse listProjectsTenantsJobs(string $parent, array $optParams = [])

Lists jobs by filter. (jobs.listProjectsTenantsJobs)

Parameters

string $parent

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

array $optParams

Optional parameters.

Return Value

ListJobsResponse

Exceptions

Exception

Job patch(string $name, Job $postBody, array $optParams = [])

Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes. (jobs.patch)

Parameters

string $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/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.

Job $postBody
array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against. (jobs.search)

Parameters

string $parent

Required. The resource name of the tenant to search within. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

SearchJobsRequest $postBody
array $optParams

Optional parameters.

Return Value

SearchJobsResponse

Exceptions

Exception

SearchJobsResponse searchForAlert(string $parent, SearchJobsRequest $postBody, array $optParams = [])

Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), it has different algorithmic adjustments that are designed to specifically target passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against. (jobs.searchForAlert)

Parameters

string $parent

Required. The resource name of the tenant to search within. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

SearchJobsRequest $postBody
array $optParams

Optional parameters.

Return Value

SearchJobsResponse

Exceptions

Exception