Struct googapis::google::cloud::talent::v4beta1::profile_service_client::ProfileServiceClient [−][src]
pub struct ProfileServiceClient<T> { /* fields omitted */ }
Expand description
A service that handles profile management, including profile CRUD, enumeration and search.
Implementations
impl<T> ProfileServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> ProfileServiceClient<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
) -> ProfileServiceClient<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 list_profiles(
&mut self,
request: impl IntoRequest<ListProfilesRequest>
) -> Result<Response<ListProfilesResponse>, Status>
pub async fn list_profiles(
&mut self,
request: impl IntoRequest<ListProfilesRequest>
) -> Result<Response<ListProfilesResponse>, Status>
Lists profiles by filter. The order is unspecified.
pub async fn create_profile(
&mut self,
request: impl IntoRequest<CreateProfileRequest>
) -> Result<Response<Profile>, Status>
pub async fn create_profile(
&mut self,
request: impl IntoRequest<CreateProfileRequest>
) -> Result<Response<Profile>, Status>
Creates and returns a new profile.
pub async fn get_profile(
&mut self,
request: impl IntoRequest<GetProfileRequest>
) -> Result<Response<Profile>, Status>
pub async fn get_profile(
&mut self,
request: impl IntoRequest<GetProfileRequest>
) -> Result<Response<Profile>, Status>
Gets the specified profile.
pub async fn update_profile(
&mut self,
request: impl IntoRequest<UpdateProfileRequest>
) -> Result<Response<Profile>, Status>
pub async fn update_profile(
&mut self,
request: impl IntoRequest<UpdateProfileRequest>
) -> Result<Response<Profile>, Status>
Updates the specified profile and returns the updated result.
pub async fn delete_profile(
&mut self,
request: impl IntoRequest<DeleteProfileRequest>
) -> Result<Response<()>, Status>
pub async fn delete_profile(
&mut self,
request: impl IntoRequest<DeleteProfileRequest>
) -> Result<Response<()>, Status>
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
pub async fn search_profiles(
&mut self,
request: impl IntoRequest<SearchProfilesRequest>
) -> Result<Response<SearchProfilesResponse>, Status>
pub async fn search_profiles(
&mut self,
request: impl IntoRequest<SearchProfilesRequest>
) -> Result<Response<SearchProfilesResponse>, Status>
Searches for profiles within a tenant.
For example, search by raw queries “software engineer in Mountain View” or search by structured filters (location filter, education filter, etc.).
See [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] for more information.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ProfileServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for ProfileServiceClient<T> where
T: Send,
impl<T> Sync for ProfileServiceClient<T> where
T: Sync,
impl<T> Unpin for ProfileServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for ProfileServiceClient<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