Class JobServiceClientImpl (3.0.0-beta01)

public sealed class JobServiceClientImpl : JobServiceClient

JobService client wrapper implementation, for convenient use.

Inheritance

Object > JobServiceClient > JobServiceClientImpl

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

Google.Cloud.Talent.V4Beta1.dll

Remarks

A service handles job management, including job CRUD, enumeration and search.

Constructors

JobServiceClientImpl(JobService.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
NameDescription
grpcClientJobService.JobServiceClient

The underlying gRPC client.

settingsJobServiceSettings

The base JobServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

BatchCreateJobsOperationsClient

public override OperationsClient BatchCreateJobsOperationsClient { get; }

The long-running operations client for BatchCreateJobs.

Property Value
TypeDescription
OperationsClient
Overrides

BatchUpdateJobsOperationsClient

public override OperationsClient BatchUpdateJobsOperationsClient { get; }

The long-running operations client for BatchUpdateJobs.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override JobService.JobServiceClient GrpcClient { get; }

The underlying gRPC JobService client

Property Value
TypeDescription
JobService.JobServiceClient
Overrides

Methods

BatchCreateJobs(BatchCreateJobsRequest, CallSettings)

public override Operation<JobOperationResult, BatchOperationMetadata> BatchCreateJobs(BatchCreateJobsRequest request, CallSettings callSettings = null)

Begins executing a batch create jobs operation.

Parameters
NameDescription
requestBatchCreateJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<JobOperationResult, BatchOperationMetadata>

The RPC response.

Overrides

BatchCreateJobsAsync(BatchCreateJobsRequest, CallSettings)

public override async Task<Operation<JobOperationResult, BatchOperationMetadata>> BatchCreateJobsAsync(BatchCreateJobsRequest request, CallSettings callSettings = null)

Begins executing a batch create jobs operation.

Parameters
NameDescription
requestBatchCreateJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<JobOperationResult, BatchOperationMetadata>>

A Task containing the RPC response.

Overrides

BatchDeleteJobs(BatchDeleteJobsRequest, CallSettings)

public override void BatchDeleteJobs(BatchDeleteJobsRequest request, CallSettings callSettings = null)

Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.

Parameters
NameDescription
requestBatchDeleteJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

BatchDeleteJobsAsync(BatchDeleteJobsRequest, CallSettings)

public override Task BatchDeleteJobsAsync(BatchDeleteJobsRequest request, CallSettings callSettings = null)

Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.

Parameters
NameDescription
requestBatchDeleteJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

BatchUpdateJobs(BatchUpdateJobsRequest, CallSettings)

public override Operation<JobOperationResult, BatchOperationMetadata> BatchUpdateJobs(BatchUpdateJobsRequest request, CallSettings callSettings = null)

Begins executing a batch update jobs operation.

Parameters
NameDescription
requestBatchUpdateJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<JobOperationResult, BatchOperationMetadata>

The RPC response.

Overrides

BatchUpdateJobsAsync(BatchUpdateJobsRequest, CallSettings)

public override async Task<Operation<JobOperationResult, BatchOperationMetadata>> BatchUpdateJobsAsync(BatchUpdateJobsRequest request, CallSettings callSettings = null)

Begins executing a batch update jobs operation.

Parameters
NameDescription
requestBatchUpdateJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<JobOperationResult, BatchOperationMetadata>>

A Task containing the RPC response.

Overrides

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
NameDescription
requestCreateJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Job

The RPC response.

Overrides

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
NameDescription
requestCreateJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Job>

A Task containing the RPC response.

Overrides

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
NameDescription
requestDeleteJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

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
NameDescription
requestDeleteJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

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
NameDescription
requestGetJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Job

The RPC response.

Overrides

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
NameDescription
requestGetJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Job>

A Task containing the RPC response.

Overrides

ListJobs(ListJobsRequest, CallSettings)

public override PagedEnumerable<ListJobsResponse, Job> ListJobs(ListJobsRequest request, CallSettings callSettings = null)

Lists jobs by filter.

Parameters
NameDescription
requestListJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListJobsResponse, Job>

A pageable sequence of Job resources.

Overrides

ListJobsAsync(ListJobsRequest, CallSettings)

public override PagedAsyncEnumerable<ListJobsResponse, Job> ListJobsAsync(ListJobsRequest request, CallSettings callSettings = null)

Lists jobs by filter.

Parameters
NameDescription
requestListJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListJobsResponse, Job>

A pageable asynchronous sequence of Job resources.

Overrides

SearchJobs(SearchJobsRequest, CallSettings)

public override SearchJobsResponse SearchJobs(SearchJobsRequest request, CallSettings callSettings = null)

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

This call constrains the [visibility][google.cloud.talent.v4beta1.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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SearchJobsResponse

The RPC response.

Overrides

SearchJobsAsync(SearchJobsRequest, CallSettings)

public override Task<SearchJobsResponse> SearchJobsAsync(SearchJobsRequest request, CallSettings callSettings = null)

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

This call constrains the [visibility][google.cloud.talent.v4beta1.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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SearchJobsResponse>

A Task containing the RPC response.

Overrides

SearchJobsForAlert(SearchJobsRequest, CallSettings)

public override PagedEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob> SearchJobsForAlert(SearchJobsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestSearchJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob>

A pageable sequence of SearchJobsResponse.Types.MatchingJob resources.

Overrides

SearchJobsForAlertAsync(SearchJobsRequest, CallSettings)

public override PagedAsyncEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob> SearchJobsForAlertAsync(SearchJobsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestSearchJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<SearchJobsResponse, SearchJobsResponse.Types.MatchingJob>

A pageable asynchronous sequence of SearchJobsResponse.Types.MatchingJob resources.

Overrides

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
NameDescription
requestUpdateJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Job

The RPC response.

Overrides

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
NameDescription
requestUpdateJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Job>

A Task containing the RPC response.

Overrides