Class ProjectsResource.JobsResource
The "jobs" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v3
Assembly: Google.Apis.CloudTalentSolution.v3.dll
Syntax
public class ProjectsResource.JobsResource
Constructors
JobsResource(IClientService)
Constructs a new resource.
Declaration
public JobsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BatchDelete(BatchDeleteJobsRequest, string)
Deletes a list of Jobs by filter.
Declaration
public virtual ProjectsResource.JobsResource.BatchDeleteRequest BatchDelete(BatchDeleteJobsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteJobsRequest | body | The body of the request. |
string | parent | Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.BatchDeleteRequest |
Create(CreateJobRequest, string)
Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.
Declaration
public virtual ProjectsResource.JobsResource.CreateRequest Create(CreateJobRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
CreateJobRequest | body | The body of the request. |
string | parent | Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.CreateRequest |
Delete(string)
Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
Declaration
public virtual ProjectsResource.JobsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the job to be deleted. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.DeleteRequest |
Get(string)
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
Declaration
public virtual ProjectsResource.JobsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the job to retrieve. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.GetRequest |
List(string)
Lists jobs by filter.
Declaration
public virtual ProjectsResource.JobsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.ListRequest |
Patch(UpdateJobRequest, string)
Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
Declaration
public virtual ProjectsResource.JobsResource.PatchRequest Patch(UpdateJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
UpdateJobRequest | body | The body of the request. |
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}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique. |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.PatchRequest |
Search(SearchJobsRequest, string)
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.
Declaration
public virtual ProjectsResource.JobsResource.SearchRequest Search(SearchJobsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SearchJobsRequest | body | The body of the request. |
string | parent | Required. The resource name of the project to search within. The format is "projects/{project_id}", for example, "projects/api-test-project". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.SearchRequest |
SearchForAlert(SearchJobsRequest, string)
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), and has different algorithmic adjustments that are targeted to 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.
Declaration
public virtual ProjectsResource.JobsResource.SearchForAlertRequest SearchForAlert(SearchJobsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SearchJobsRequest | body | The body of the request. |
string | parent | Required. The resource name of the project to search within. The format is "projects/{project_id}", for example, "projects/api-test-project". |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.SearchForAlertRequest |