[BindServiceMethod(typeof(JobService), "BindService")]
public abstract class JobServiceBase
Base class for server-side implementations of JobService
Namespace
Google.Cloud.Talent.V4Assembly
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 | |
---|---|
Name | Description |
request | BatchCreateJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | BatchDeleteJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | BatchUpdateJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SearchJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Job> | The response to send back to the client (wrapped by a task). |