Struct googapis::google::cloud::dialogflow::v2::conversation_profiles_client::ConversationProfilesClient [−][src]
pub struct ConversationProfilesClient<T> { /* fields omitted */ }
Expand description
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2.ConversationProfile].
Implementations
impl<T> ConversationProfilesClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> ConversationProfilesClient<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
) -> ConversationProfilesClient<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_conversation_profiles(
&mut self,
request: impl IntoRequest<ListConversationProfilesRequest>
) -> Result<Response<ListConversationProfilesResponse>, Status>
pub async fn list_conversation_profiles(
&mut self,
request: impl IntoRequest<ListConversationProfilesRequest>
) -> Result<Response<ListConversationProfilesResponse>, Status>
Returns the list of all conversation profiles in the specified project.
pub async fn get_conversation_profile(
&mut self,
request: impl IntoRequest<GetConversationProfileRequest>
) -> Result<Response<ConversationProfile>, Status>
pub async fn get_conversation_profile(
&mut self,
request: impl IntoRequest<GetConversationProfileRequest>
) -> Result<Response<ConversationProfile>, Status>
Retrieves the specified conversation profile.
pub async fn create_conversation_profile(
&mut self,
request: impl IntoRequest<CreateConversationProfileRequest>
) -> Result<Response<ConversationProfile>, Status>
pub async fn create_conversation_profile(
&mut self,
request: impl IntoRequest<CreateConversationProfileRequest>
) -> Result<Response<ConversationProfile>, Status>
Creates a conversation profile in the specified project.
[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren’t populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
pub async fn update_conversation_profile(
&mut self,
request: impl IntoRequest<UpdateConversationProfileRequest>
) -> Result<Response<ConversationProfile>, Status>
pub async fn update_conversation_profile(
&mut self,
request: impl IntoRequest<UpdateConversationProfileRequest>
) -> Result<Response<ConversationProfile>, Status>
Updates the specified conversation profile.
[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren’t populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.
pub async fn delete_conversation_profile(
&mut self,
request: impl IntoRequest<DeleteConversationProfileRequest>
) -> Result<Response<()>, Status>
pub async fn delete_conversation_profile(
&mut self,
request: impl IntoRequest<DeleteConversationProfileRequest>
) -> Result<Response<()>, Status>
Deletes the specified conversation profile.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ConversationProfilesClient<T> where
T: RefUnwindSafe,
impl<T> Send for ConversationProfilesClient<T> where
T: Send,
impl<T> Sync for ConversationProfilesClient<T> where
T: Sync,
impl<T> Unpin for ConversationProfilesClient<T> where
T: Unpin,
impl<T> UnwindSafe for ConversationProfilesClient<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