Class JobServiceConnection (2.30.0)

This interface defines virtual methods for each of the user-facing overload sets in JobServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type JobServiceClient.

To create a concrete instance, see MakeJobServiceConnection().

For mocking, see talent_v4_mocks::MockJobServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateJob(google::cloud::talent::v4::CreateJobRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::CreateJobRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::Job >

virtual BatchCreateJobs(google::cloud::talent::v4::BatchCreateJobsRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::BatchCreateJobsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::talent::v4::BatchCreateJobsResponse > >

virtual BatchCreateJobs(NoAwaitTag, google::cloud::talent::v4::BatchCreateJobsRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::talent::v4::BatchCreateJobsRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual BatchCreateJobs(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::talent::v4::BatchCreateJobsResponse > >

virtual GetJob(google::cloud::talent::v4::GetJobRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::GetJobRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::Job >

virtual UpdateJob(google::cloud::talent::v4::UpdateJobRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::UpdateJobRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::Job >

virtual BatchUpdateJobs(google::cloud::talent::v4::BatchUpdateJobsRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::BatchUpdateJobsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::talent::v4::BatchUpdateJobsResponse > >

virtual BatchUpdateJobs(NoAwaitTag, google::cloud::talent::v4::BatchUpdateJobsRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::talent::v4::BatchUpdateJobsRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual BatchUpdateJobs(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::talent::v4::BatchUpdateJobsResponse > >

virtual DeleteJob(google::cloud::talent::v4::DeleteJobRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::DeleteJobRequest const &
Returns
Type Description
Status

virtual BatchDeleteJobs(google::cloud::talent::v4::BatchDeleteJobsRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::BatchDeleteJobsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::talent::v4::BatchDeleteJobsResponse > >

virtual BatchDeleteJobs(NoAwaitTag, google::cloud::talent::v4::BatchDeleteJobsRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::talent::v4::BatchDeleteJobsRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual BatchDeleteJobs(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::talent::v4::BatchDeleteJobsResponse > >

virtual ListJobs(google::cloud::talent::v4::ListJobsRequest)

Parameter
Name Description
request google::cloud::talent::v4::ListJobsRequest
Returns
Type Description
StreamRange< google::cloud::talent::v4::Job >

virtual SearchJobs(google::cloud::talent::v4::SearchJobsRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::SearchJobsRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::SearchJobsResponse >

virtual SearchJobsForAlert(google::cloud::talent::v4::SearchJobsRequest const &)

Parameter
Name Description
request google::cloud::talent::v4::SearchJobsRequest const &
Returns
Type Description
StatusOr< google::cloud::talent::v4::SearchJobsResponse >