Class EnvironmentsGrpc.EnvironmentsFutureStub

  • Enclosing class:
    EnvironmentsGrpc

    public static final class EnvironmentsGrpc.EnvironmentsFutureStub
    extends io.grpc.stub.AbstractFutureStub<EnvironmentsGrpc.EnvironmentsFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service Environments.
     Service for managing
     [Environments][google.cloud.dialogflow.cx.v3beta1.Environment].
     
    • Method Detail

      • listEnvironments

        public com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse> listEnvironments​(ListEnvironmentsRequest request)
         Returns the list of all environments in the specified
         [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
         
      • getEnvironment

        public com.google.common.util.concurrent.ListenableFuture<Environment> getEnvironment​(GetEnvironmentRequest request)
         Retrieves the specified
         [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
         
      • createEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createEnvironment​(CreateEnvironmentRequest request)
         Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in
         the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
         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`: An empty [Struct
           message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
         - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
         
      • updateEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateEnvironment​(UpdateEnvironmentRequest request)
         Updates the specified
         [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
         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`: An empty [Struct
           message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
         - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
         
      • deleteEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteEnvironment​(DeleteEnvironmentRequest request)
         Deletes the specified
         [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
         
      • runContinuousTest

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> runContinuousTest​(RunContinuousTestRequest request)
         Kicks off a continuous test under the specified
         [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
         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`:
         [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata]
         - `response`:
         [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]
         
      • deployFlow

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deployFlow​(DeployFlowRequest request)
         Deploys a flow to the specified
         [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
         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`:
         [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata]
         - `response`:
         [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]