Struct googapis::google::cloud::talent::v4::job_service_client::JobServiceClient [−][src]
pub struct JobServiceClient<T> { /* fields omitted */ }
Expand description
A service handles job management, including job CRUD, enumeration and search.
Implementations
impl<T> JobServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> JobServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> JobServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn create_job(
&mut self,
request: impl IntoRequest<CreateJobRequest>
) -> Result<Response<Job>, Status>
pub async fn create_job(
&mut self,
request: impl IntoRequest<CreateJobRequest>
) -> Result<Response<Job>, Status>
Creates a new job.
Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.
pub async fn batch_create_jobs(
&mut self,
request: impl IntoRequest<BatchCreateJobsRequest>
) -> Result<Response<Operation>, Status>
pub async fn batch_create_jobs(
&mut self,
request: impl IntoRequest<BatchCreateJobsRequest>
) -> Result<Response<Operation>, Status>
Begins executing a batch create jobs operation.
pub async fn get_job(
&mut self,
request: impl IntoRequest<GetJobRequest>
) -> Result<Response<Job>, Status>
pub async fn get_job(
&mut self,
request: impl IntoRequest<GetJobRequest>
) -> Result<Response<Job>, Status>
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
pub async fn update_job(
&mut self,
request: impl IntoRequest<UpdateJobRequest>
) -> Result<Response<Job>, Status>
pub async fn update_job(
&mut self,
request: impl IntoRequest<UpdateJobRequest>
) -> Result<Response<Job>, Status>
Updates specified job.
Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
pub async fn batch_update_jobs(
&mut self,
request: impl IntoRequest<BatchUpdateJobsRequest>
) -> Result<Response<Operation>, Status>
pub async fn batch_update_jobs(
&mut self,
request: impl IntoRequest<BatchUpdateJobsRequest>
) -> Result<Response<Operation>, Status>
Begins executing a batch update jobs operation.
pub async fn delete_job(
&mut self,
request: impl IntoRequest<DeleteJobRequest>
) -> Result<Response<()>, Status>
pub async fn delete_job(
&mut self,
request: impl IntoRequest<DeleteJobRequest>
) -> Result<Response<()>, Status>
Deletes the specified job.
Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
pub async fn batch_delete_jobs(
&mut self,
request: impl IntoRequest<BatchDeleteJobsRequest>
) -> Result<Response<Operation>, Status>
pub async fn batch_delete_jobs(
&mut self,
request: impl IntoRequest<BatchDeleteJobsRequest>
) -> Result<Response<Operation>, Status>
Begins executing a batch delete jobs operation.
pub async fn list_jobs(
&mut self,
request: impl IntoRequest<ListJobsRequest>
) -> Result<Response<ListJobsResponse>, Status>
pub async fn list_jobs(
&mut self,
request: impl IntoRequest<ListJobsRequest>
) -> Result<Response<ListJobsResponse>, Status>
Lists jobs by filter.
pub async fn search_jobs(
&mut self,
request: impl IntoRequest<SearchJobsRequest>
) -> Result<Response<SearchJobsResponse>, Status>
pub async fn search_jobs(
&mut self,
request: impl IntoRequest<SearchJobsRequest>
) -> Result<Response<SearchJobsResponse>, Status>
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.
pub async fn search_jobs_for_alert(
&mut self,
request: impl IntoRequest<SearchJobsRequest>
) -> Result<Response<SearchJobsResponse>, Status>
pub async fn search_jobs_for_alert(
&mut self,
request: impl IntoRequest<SearchJobsRequest>
) -> Result<Response<SearchJobsResponse>, Status>
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.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for JobServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for JobServiceClient<T> where
T: Send,
impl<T> Sync for JobServiceClient<T> where
T: Sync,
impl<T> Unpin for JobServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for JobServiceClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more