Struct googapis::google::cloud::dialogflow::v2::session_entity_types_client::SessionEntityTypesClient [−][src]
pub struct SessionEntityTypesClient<T> { /* fields omitted */ }
Expand description
Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityType].
Implementations
impl<T> SessionEntityTypesClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> SessionEntityTypesClient<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
) -> SessionEntityTypesClient<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_session_entity_types(
&mut self,
request: impl IntoRequest<ListSessionEntityTypesRequest>
) -> Result<Response<ListSessionEntityTypesResponse>, Status>
pub async fn list_session_entity_types(
&mut self,
request: impl IntoRequest<ListSessionEntityTypesRequest>
) -> Result<Response<ListSessionEntityTypesResponse>, Status>
Returns the list of all session entity types in the specified session.
This method doesn’t work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
pub async fn get_session_entity_type(
&mut self,
request: impl IntoRequest<GetSessionEntityTypeRequest>
) -> Result<Response<SessionEntityType>, Status>
pub async fn get_session_entity_type(
&mut self,
request: impl IntoRequest<GetSessionEntityTypeRequest>
) -> Result<Response<SessionEntityType>, Status>
Retrieves the specified session entity type.
This method doesn’t work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
pub async fn create_session_entity_type(
&mut self,
request: impl IntoRequest<CreateSessionEntityTypeRequest>
) -> Result<Response<SessionEntityType>, Status>
pub async fn create_session_entity_type(
&mut self,
request: impl IntoRequest<CreateSessionEntityTypeRequest>
) -> Result<Response<SessionEntityType>, Status>
Creates a session entity type.
If the specified session entity type already exists, overrides the session entity type.
This method doesn’t work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
pub async fn update_session_entity_type(
&mut self,
request: impl IntoRequest<UpdateSessionEntityTypeRequest>
) -> Result<Response<SessionEntityType>, Status>
pub async fn update_session_entity_type(
&mut self,
request: impl IntoRequest<UpdateSessionEntityTypeRequest>
) -> Result<Response<SessionEntityType>, Status>
Updates the specified session entity type.
This method doesn’t work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
pub async fn delete_session_entity_type(
&mut self,
request: impl IntoRequest<DeleteSessionEntityTypeRequest>
) -> Result<Response<()>, Status>
pub async fn delete_session_entity_type(
&mut self,
request: impl IntoRequest<DeleteSessionEntityTypeRequest>
) -> Result<Response<()>, Status>
Deletes the specified session entity type.
This method doesn’t work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for SessionEntityTypesClient<T> where
T: RefUnwindSafe,
impl<T> Send for SessionEntityTypesClient<T> where
T: Send,
impl<T> Sync for SessionEntityTypesClient<T> where
T: Sync,
impl<T> Unpin for SessionEntityTypesClient<T> where
T: Unpin,
impl<T> UnwindSafe for SessionEntityTypesClient<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