Struct gapi_grpc::google::cloud::dialogflow::cx::v3::environments_client::EnvironmentsClient[][src]

pub struct EnvironmentsClient<T> { /* fields omitted */ }

Service for managing [Environments][google.cloud.dialogflow.cx.v3.Environment].

Implementations

impl EnvironmentsClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> EnvironmentsClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn list_environments(
    &mut self,
    request: impl IntoRequest<ListEnvironmentsRequest>
) -> Result<Response<ListEnvironmentsResponse>, Status>
[src]

Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].

pub async fn get_environment(
    &mut self,
    request: impl IntoRequest<GetEnvironmentRequest>
) -> Result<Response<Environment>, Status>
[src]

Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

pub async fn create_environment(
    &mut self,
    request: impl IntoRequest<CreateEnvironmentRequest>
) -> Result<Response<Operation>, Status>
[src]

Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].

pub async fn update_environment(
    &mut self,
    request: impl IntoRequest<UpdateEnvironmentRequest>
) -> Result<Response<Operation>, Status>
[src]

Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

pub async fn delete_environment(
    &mut self,
    request: impl IntoRequest<DeleteEnvironmentRequest>
) -> Result<Response<()>, Status>
[src]

Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

pub async fn lookup_environment_history(
    &mut self,
    request: impl IntoRequest<LookupEnvironmentHistoryRequest>
) -> Result<Response<LookupEnvironmentHistoryResponse>, Status>
[src]

Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

pub async fn run_continuous_test(
    &mut self,
    request: impl IntoRequest<RunContinuousTestRequest>
) -> Result<Response<Operation>, Status>
[src]

Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

pub async fn list_continuous_test_results(
    &mut self,
    request: impl IntoRequest<ListContinuousTestResultsRequest>
) -> Result<Response<ListContinuousTestResultsResponse>, Status>
[src]

Fetches a list of continuous test results for a given environment.

Trait Implementations

impl<T: Clone> Clone for EnvironmentsClient<T>[src]

impl<T> Debug for EnvironmentsClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for EnvironmentsClient<T>

impl<T> Send for EnvironmentsClient<T> where
    T: Send

impl<T> Sync for EnvironmentsClient<T> where
    T: Sync

impl<T> Unpin for EnvironmentsClient<T> where
    T: Unpin

impl<T> !UnwindSafe for EnvironmentsClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]