public sealed class JobServiceClientImpl : JobServiceClient
Reference documentation and code samples for the Google Cloud Talent Solution v4 API class JobServiceClientImpl.
JobService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Remarks
A service handles job management, including job CRUD, enumeration and search.
Constructors
JobServiceClientImpl(JobServiceClient, JobServiceSettings, ILogger)
public JobServiceClientImpl(JobService.JobServiceClient grpcClient, JobServiceSettings settings, ILogger logger)
Constructs a client wrapper for the JobService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
JobServiceJobServiceClient The underlying gRPC client. |
settings |
JobServiceSettings The base JobServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
BatchCreateJobsOperationsClient
public override OperationsClient BatchCreateJobsOperationsClient { get; }
The long-running operations client for BatchCreateJobs
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchDeleteJobsOperationsClient
public override OperationsClient BatchDeleteJobsOperationsClient { get; }
The long-running operations client for BatchDeleteJobs
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchUpdateJobsOperationsClient
public override OperationsClient BatchUpdateJobsOperationsClient { get; }
The long-running operations client for BatchUpdateJobs
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override JobService.JobServiceClient GrpcClient { get; }
The underlying gRPC JobService client
Property Value | |
---|---|
Type | Description |
JobServiceJobServiceClient |
Methods
BatchCreateJobs(BatchCreateJobsRequest, CallSettings)
public override Operation<BatchCreateJobsResponse, BatchOperationMetadata> BatchCreateJobs(BatchCreateJobsRequest request, CallSettings callSettings = null)
Begins executing a batch create jobs operation.
Parameters | |
---|---|
Name | Description |
request |
BatchCreateJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBatchCreateJobsResponseBatchOperationMetadata |
The RPC response. |
BatchCreateJobsAsync(BatchCreateJobsRequest, CallSettings)
public override Task<Operation<BatchCreateJobsResponse, BatchOperationMetadata>> BatchCreateJobsAsync(BatchCreateJobsRequest request, CallSettings callSettings = null)
Begins executing a batch create jobs operation.
Parameters | |
---|---|
Name | Description |
request |
BatchCreateJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBatchCreateJobsResponseBatchOperationMetadata |
A Task containing the RPC response. |
BatchDeleteJobs(BatchDeleteJobsRequest, CallSettings)
public override Operation<BatchDeleteJobsResponse, BatchOperationMetadata> BatchDeleteJobs(BatchDeleteJobsRequest request, CallSettings callSettings = null)
Begins executing a batch delete jobs operation.
Parameters | |
---|---|
Name | Description |
request |
BatchDeleteJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBatchDeleteJobsResponseBatchOperationMetadata |
The RPC response. |
BatchDeleteJobsAsync(BatchDeleteJobsRequest, CallSettings)
public override Task<Operation<BatchDeleteJobsResponse, BatchOperationMetadata>> BatchDeleteJobsAsync(BatchDeleteJobsRequest request, CallSettings callSettings = null)
Begins executing a batch delete jobs operation.
Parameters | |
---|---|
Name | Description |
request |
BatchDeleteJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBatchDeleteJobsResponseBatchOperationMetadata |
A Task containing the RPC response. |
BatchUpdateJobs(BatchUpdateJobsRequest, CallSettings)
public override Operation<BatchUpdateJobsResponse, BatchOperationMetadata> BatchUpdateJobs(BatchUpdateJobsRequest request, CallSettings callSettings = null)
Begins executing a batch update jobs operation.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBatchUpdateJobsResponseBatchOperationMetadata |
The RPC response. |
BatchUpdateJobsAsync(BatchUpdateJobsRequest, CallSettings)
public override Task<Operation<BatchUpdateJobsResponse, BatchOperationMetadata>> BatchUpdateJobsAsync(BatchUpdateJobsRequest request, CallSettings callSettings = null)
Begins executing a batch update jobs operation.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBatchUpdateJobsResponseBatchOperationMetadata |
A Task containing the RPC response. |
CreateJob(CreateJobRequest, CallSettings)
public override Job CreateJob(CreateJobRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Job |
The RPC response. |
CreateJobAsync(CreateJobRequest, CallSettings)
public override Task<Job> CreateJobAsync(CreateJobRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskJob |
A Task containing the RPC response. |
DeleteJob(DeleteJobRequest, CallSettings)
public override void DeleteJob(DeleteJobRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteJobAsync(DeleteJobRequest, CallSettings)
public override Task DeleteJobAsync(DeleteJobRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
GetJob(GetJobRequest, CallSettings)
public override Job GetJob(GetJobRequest request, CallSettings callSettings = null)
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
Parameters | |
---|---|
Name | Description |
request |
GetJobRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Job |
The RPC response. |
GetJobAsync(GetJobRequest, CallSettings)
public override Task<Job> GetJobAsync(GetJobRequest request, CallSettings callSettings = null)
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
Parameters | |
---|---|
Name | Description |
request |
GetJobRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskJob |
A Task containing the RPC response. |
ListJobs(ListJobsRequest, CallSettings)
public override PagedEnumerable<ListJobsResponse, Job> ListJobs(ListJobsRequest request, CallSettings callSettings = null)
Lists jobs by filter.
Parameters | |
---|---|
Name | Description |
request |
ListJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListJobsResponseJob |
A pageable sequence of Job resources. |
ListJobsAsync(ListJobsRequest, CallSettings)
public override PagedAsyncEnumerable<ListJobsResponse, Job> ListJobsAsync(ListJobsRequest request, CallSettings callSettings = null)
Lists jobs by filter.
Parameters | |
---|---|
Name | Description |
request |
ListJobsRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListJobsResponseJob |
A pageable asynchronous sequence of Job resources. |
SearchJobs(SearchJobsRequest, CallSettings)
public override SearchJobsResponse SearchJobs(SearchJobsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SearchJobsResponse |
The RPC response. |
SearchJobsAsync(SearchJobsRequest, CallSettings)
public override Task<SearchJobsResponse> SearchJobsAsync(SearchJobsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSearchJobsResponse |
A Task containing the RPC response. |
SearchJobsForAlert(SearchJobsRequest, CallSettings)
public override SearchJobsResponse SearchJobsForAlert(SearchJobsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SearchJobsResponse |
The RPC response. |
SearchJobsForAlertAsync(SearchJobsRequest, CallSettings)
public override Task<SearchJobsResponse> SearchJobsForAlertAsync(SearchJobsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSearchJobsResponse |
A Task containing the RPC response. |
UpdateJob(UpdateJobRequest, CallSettings)
public override Job UpdateJob(UpdateJobRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Job |
The RPC response. |
UpdateJobAsync(UpdateJobRequest, CallSettings)
public override Task<Job> UpdateJobAsync(UpdateJobRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskJob |
A Task containing the RPC response. |