Class TestCasesGrpc.TestCasesBlockingStub

  • Enclosing class:
    TestCasesGrpc

    public static final class TestCasesGrpc.TestCasesBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<TestCasesGrpc.TestCasesBlockingStub>
    A stub to allow clients to do synchronous rpc calls to service TestCases.
     Service for managing [Test
     Cases][google.cloud.dialogflow.cx.v3beta1.TestCase] and [Test Case
     Results][google.cloud.dialogflow.cx.v3beta1.TestCaseResult].
     
    • Method Detail

      • batchDeleteTestCases

        public com.google.protobuf.Empty batchDeleteTestCases​(BatchDeleteTestCasesRequest request)
         Batch deletes test cases.
         
      • runTestCase

        public com.google.longrunning.Operation runTestCase​(RunTestCaseRequest request)
         Kicks off a test case run.
         This method is a [long-running
         operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
         The returned `Operation` type has the following method-specific fields:
         - `metadata`:
         [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata]
         - `response`:
         [RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.RunTestCaseResponse]
         
      • batchRunTestCases

        public com.google.longrunning.Operation batchRunTestCases​(BatchRunTestCasesRequest request)
         Kicks off a batch run of test cases.
         This method is a [long-running
         operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
         The returned `Operation` type has the following method-specific fields:
         - `metadata`:
         [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata]
         - `response`:
         [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse]
         
      • importTestCases

        public com.google.longrunning.Operation importTestCases​(ImportTestCasesRequest request)
         Imports the test cases from a Cloud Storage bucket or a local file. It
         always creates new test cases and won't overwrite any existing ones. The
         provided ID in the imported test case is neglected.
         This method is a [long-running
         operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
         The returned `Operation` type has the following method-specific fields:
         - `metadata`:
         [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata]
         - `response`:
         [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse]
         
      • exportTestCases

        public com.google.longrunning.Operation exportTestCases​(ExportTestCasesRequest request)
         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.
         This method is a [long-running
         operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
         The returned `Operation` type has the following method-specific fields:
         - `metadata`:
         [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata]
         - `response`:
         [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse]