Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::test_cases_client::TestCasesClient [−][src]
Service for managing [Test Cases][google.cloud.dialogflow.cx.v3beta1.TestCase] and [Test Case Results][google.cloud.dialogflow.cx.v3beta1.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]
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
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]
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
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]
&mut self,
request: impl IntoRequest<ListTestCasesRequest>
) -> Result<Response<ListTestCasesResponse>, Status>
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]
&mut self,
request: impl IntoRequest<BatchDeleteTestCasesRequest>
) -> Result<Response<()>, Status>
Batch deletes test cases.
pub async fn get_test_case(
&mut self,
request: impl IntoRequest<GetTestCaseRequest>
) -> Result<Response<TestCase>, Status>
[src]
&mut self,
request: impl IntoRequest<GetTestCaseRequest>
) -> Result<Response<TestCase>, Status>
Gets a test case.
pub async fn create_test_case(
&mut self,
request: impl IntoRequest<CreateTestCaseRequest>
) -> Result<Response<TestCase>, Status>
[src]
&mut self,
request: impl IntoRequest<CreateTestCaseRequest>
) -> Result<Response<TestCase>, Status>
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]
&mut self,
request: impl IntoRequest<UpdateTestCaseRequest>
) -> Result<Response<TestCase>, Status>
Updates the specified test case.
pub async fn run_test_case(
&mut self,
request: impl IntoRequest<RunTestCaseRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<RunTestCaseRequest>
) -> Result<Response<Operation>, Status>
Kicks off a test case run.
pub async fn batch_run_test_cases(
&mut self,
request: impl IntoRequest<BatchRunTestCasesRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<BatchRunTestCasesRequest>
) -> Result<Response<Operation>, Status>
Kicks off a batch run of test cases.
pub async fn calculate_coverage(
&mut self,
request: impl IntoRequest<CalculateCoverageRequest>
) -> Result<Response<CalculateCoverageResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<CalculateCoverageRequest>
) -> Result<Response<CalculateCoverageResponse>, Status>
Calculates the test coverage for an agent.
pub async fn import_test_cases(
&mut self,
request: impl IntoRequest<ImportTestCasesRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<ImportTestCasesRequest>
) -> Result<Response<Operation>, Status>
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]
&mut self,
request: impl IntoRequest<ExportTestCasesRequest>
) -> Result<Response<Operation>, Status>
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]
&mut self,
request: impl IntoRequest<ListTestCaseResultsRequest>
) -> Result<Response<ListTestCaseResultsResponse>, Status>
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]
&mut self,
request: impl IntoRequest<GetTestCaseResultRequest>
) -> Result<Response<TestCaseResult>, Status>
Gets a test case result.
Trait Implementations
impl<T: Clone> Clone for TestCasesClient<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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,
T: Send,
impl<T> Sync for TestCasesClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TestCasesClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for TestCasesClient<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,