Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

jobs

import { jobs } from "https://googleapis.deno.dev/v1/jobs:v4.ts";

Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.

class jobs {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsOperationsGet(name: string): Promise<Operation>;
async projectsTenantsClientEventsCreate(parent: string, req: ClientEvent): Promise<ClientEvent>;
async projectsTenantsCompaniesCreate(parent: string, req: Company): Promise<Company>;
async projectsTenantsCompaniesDelete(name: string): Promise<Empty>;
async projectsTenantsCompaniesGet(name: string): Promise<Company>;
async projectsTenantsCompaniesList(parent: string, opts?: ProjectsTenantsCompaniesListOptions): Promise<ListCompaniesResponse>;
async projectsTenantsCompaniesPatch(
name: string,
req: Company,
): Promise<Company>;
async projectsTenantsCompleteQuery(tenant: string, opts?: ProjectsTenantsCompleteQueryOptions): Promise<CompleteQueryResponse>;
async projectsTenantsCreate(parent: string, req: Tenant): Promise<Tenant>;
async projectsTenantsDelete(name: string): Promise<Empty>;
async projectsTenantsGet(name: string): Promise<Tenant>;
async projectsTenantsJobsBatchCreate(parent: string, req: BatchCreateJobsRequest): Promise<Operation>;
async projectsTenantsJobsBatchDelete(parent: string, req: BatchDeleteJobsRequest): Promise<Operation>;
async projectsTenantsJobsBatchUpdate(parent: string, req: BatchUpdateJobsRequest): Promise<Operation>;
async projectsTenantsJobsCreate(parent: string, req: Job): Promise<Job>;
async projectsTenantsJobsDelete(name: string): Promise<Empty>;
async projectsTenantsJobsGet(name: string): Promise<Job>;
async projectsTenantsJobsList(parent: string, opts?: ProjectsTenantsJobsListOptions): Promise<ListJobsResponse>;
async projectsTenantsJobsPatch(
name: string,
req: Job,
): Promise<Job>;
async projectsTenantsJobsSearch(parent: string, req: SearchJobsRequest): Promise<SearchJobsResponse>;
async projectsTenantsJobsSearchForAlert(parent: string, req: SearchJobsRequest): Promise<SearchJobsResponse>;
async projectsTenantsList(parent: string, opts?: ProjectsTenantsListOptions): Promise<ListTenantsResponse>;
async projectsTenantsPatch(
name: string,
req: Tenant,
): Promise<Tenant>;
}

§Constructors

§
new jobs(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsOperationsGet(name: string): Promise<Operation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsTenantsClientEventsCreate(parent: string, req: ClientEvent): Promise<ClientEvent>
[src]

Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in self service tools. Learn more about self service tools.

@param parent

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

§
projectsTenantsCompaniesCreate(parent: string, req: Company): Promise<Company>
[src]

Creates a new company entity.

@param parent

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

§
projectsTenantsCompaniesDelete(name: string): Promise<Empty>
[src]

Deletes specified company. Prerequisite: The company has no jobs associated with it.

@param name

Required. The resource name of the company to be deleted. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

§
projectsTenantsCompaniesGet(name: string): Promise<Company>
[src]

Retrieves specified company.

@param name

Required. The resource name of the company to be retrieved. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

§
projectsTenantsCompaniesList(parent: string, opts?: ProjectsTenantsCompaniesListOptions): Promise<ListCompaniesResponse>
[src]

Lists all companies associated with the project.

@param parent

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

§
projectsTenantsCompaniesPatch(name: string, req: Company, opts?: ProjectsTenantsCompaniesPatchOptions): Promise<Company>
[src]

Updates specified company.

@param name

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

§
projectsTenantsCompleteQuery(tenant: string, opts?: ProjectsTenantsCompleteQueryOptions): Promise<CompleteQueryResponse>
[src]

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

@param tenant

Required. Resource name of tenant the completion is performed within. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

§
projectsTenantsCreate(parent: string, req: Tenant): Promise<Tenant>
[src]

Creates a new tenant entity.

@param parent

Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo".

§
projectsTenantsDelete(name: string): Promise<Empty>
[src]

Deletes specified tenant.

@param name

Required. The resource name of the tenant to be deleted. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

§
projectsTenantsGet(name: string): Promise<Tenant>
[src]

Retrieves specified tenant.

@param name

Required. The resource name of the tenant to be retrieved. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

§
projectsTenantsJobsBatchCreate(parent: string, req: BatchCreateJobsRequest): Promise<Operation>
[src]

Begins executing a batch create jobs operation.

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

§
projectsTenantsJobsBatchDelete(parent: string, req: BatchDeleteJobsRequest): Promise<Operation>
[src]

Begins executing a batch delete jobs operation.

@param 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.

§
projectsTenantsJobsBatchUpdate(parent: string, req: BatchUpdateJobsRequest): Promise<Operation>
[src]

Begins executing a batch update jobs operation.

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

§
projectsTenantsJobsCreate(parent: string, req: Job): Promise<Job>
[src]

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

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

§
projectsTenantsJobsDelete(name: string): Promise<Empty>
[src]

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

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

§
projectsTenantsJobsGet(name: string): Promise<Job>
[src]

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

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

§
projectsTenantsJobsList(parent: string, opts?: ProjectsTenantsJobsListOptions): Promise<ListJobsResponse>
[src]

Lists jobs by filter.

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

§
projectsTenantsJobsPatch(name: string, req: Job, opts?: ProjectsTenantsJobsPatchOptions): Promise<Job>
[src]

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

@param 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.

§
projectsTenantsJobsSearch(parent: string, req: SearchJobsRequest): Promise<SearchJobsResponse>
[src]

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.

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

§
projectsTenantsJobsSearchForAlert(parent: string, req: SearchJobsRequest): Promise<SearchJobsResponse>
[src]

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.

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

§
projectsTenantsList(parent: string, opts?: ProjectsTenantsListOptions): Promise<ListTenantsResponse>
[src]

Lists all tenants associated with the project.

@param parent

Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo".

§
projectsTenantsPatch(name: string, req: Tenant, opts?: ProjectsTenantsPatchOptions): Promise<Tenant>
[src]

Updates specified tenant.

@param name

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".