Struct gapi_grpc::google::cloud::dialogflow::cx::v3::test_cases_client::TestCasesClient[][src]

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

Service for managing [Test Cases][google.cloud.dialogflow.cx.v3.TestCase] and [Test Case Results][google.cloud.dialogflow.cx.v3.TestCaseResult].

Implementations

impl TestCasesClient<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> TestCasesClient<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_test_cases(
    &mut self,
    request: impl IntoRequest<ListTestCasesRequest>
) -> Result<Response<ListTestCasesResponse>, Status>
[src]

Fetches a list of test cases for a given agent.

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

Batch deletes test cases.

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

Gets a test case.

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

Creates a test case for the given agent.

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

Updates the specified test case.

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

Kicks off a test case run.

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

Kicks off a batch run of test cases.

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

Calculates the test coverage for an agent.

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

Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won’t overwite any existing ones. The provided ID in the imported test case is neglected.

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

Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.

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

Fetches a list of results for a given test case.

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

Gets a test case result.

Trait Implementations

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for TestCasesClient<T>

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

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

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

impl<T> !UnwindSafe for TestCasesClient<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]