Class JobService.JobServiceBase (1.3.0)

[BindServiceMethod(typeof(JobService), "BindService")]
public abstract class JobServiceBase

Base class for server-side implementations of JobService

Inheritance

Object > JobService.JobServiceBase

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Methods

BatchCreateJobs(BatchCreateJobsRequest, ServerCallContext)

public virtual Task<Operation> BatchCreateJobs(BatchCreateJobsRequest request, ServerCallContext context)

Begins executing a batch create jobs operation.

Parameters
NameDescription
requestBatchCreateJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

BatchDeleteJobs(BatchDeleteJobsRequest, ServerCallContext)

public virtual Task<Operation> BatchDeleteJobs(BatchDeleteJobsRequest request, ServerCallContext context)

Begins executing a batch delete jobs operation.

Parameters
NameDescription
requestBatchDeleteJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

BatchUpdateJobs(BatchUpdateJobsRequest, ServerCallContext)

public virtual Task<Operation> BatchUpdateJobs(BatchUpdateJobsRequest request, ServerCallContext context)

Begins executing a batch update jobs operation.

Parameters
NameDescription
requestBatchUpdateJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateJob(CreateJobRequest, ServerCallContext)

public virtual Task<Job> CreateJob(CreateJobRequest request, ServerCallContext context)

Creates a new job.

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

Parameters
NameDescription
requestCreateJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Job>

The response to send back to the client (wrapped by a task).

DeleteJob(DeleteJobRequest, ServerCallContext)

public virtual Task<Empty> DeleteJob(DeleteJobRequest request, ServerCallContext context)

Deletes the specified job.

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

Parameters
NameDescription
requestDeleteJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

GetJob(GetJobRequest, ServerCallContext)

public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Job>

The response to send back to the client (wrapped by a task).

ListJobs(ListJobsRequest, ServerCallContext)

public virtual Task<ListJobsResponse> ListJobs(ListJobsRequest request, ServerCallContext context)

Lists jobs by filter.

Parameters
NameDescription
requestListJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListJobsResponse>

The response to send back to the client (wrapped by a task).

SearchJobs(SearchJobsRequest, ServerCallContext)

public virtual Task<SearchJobsResponse> SearchJobs(SearchJobsRequest request, ServerCallContext context)

Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].

This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the database, and only returns jobs that the caller has permission to search against.

Parameters
NameDescription
requestSearchJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<SearchJobsResponse>

The response to send back to the client (wrapped by a task).

SearchJobsForAlert(SearchJobsRequest, ServerCallContext)

public virtual Task<SearchJobsResponse> SearchJobsForAlert(SearchJobsRequest request, ServerCallContext context)

Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.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][google.cloud.talent.v4.Job.visibility] of jobs present in the database, and only returns jobs the caller has permission to search against.

Parameters
NameDescription
requestSearchJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<SearchJobsResponse>

The response to send back to the client (wrapped by a task).

UpdateJob(UpdateJobRequest, ServerCallContext)

public virtual Task<Job> UpdateJob(UpdateJobRequest request, ServerCallContext context)

Updates specified job.

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

Parameters
NameDescription
requestUpdateJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Job>

The response to send back to the client (wrapped by a task).