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.
     Managed Apache Airflow Environments.
     
    • Method Detail

      • createEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createEnvironment​(CreateEnvironmentRequest request)
         Create a new environment.
         
      • getEnvironment

        public com.google.common.util.concurrent.ListenableFuture<Environment> getEnvironment​(GetEnvironmentRequest request)
         Get an existing environment.
         
      • updateEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateEnvironment​(UpdateEnvironmentRequest request)
         Update an environment.
         
      • deleteEnvironment

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteEnvironment​(DeleteEnvironmentRequest request)
         Delete an environment.
         
      • saveSnapshot

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> saveSnapshot​(SaveSnapshotRequest request)
         Creates a snapshots of a Cloud Composer environment.
         As a result of this operation, snapshot of environment's state is stored
         in a location specified in the SaveSnapshotRequest.
         
      • loadSnapshot

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> loadSnapshot​(LoadSnapshotRequest request)
         Loads a snapshot of a Cloud Composer environment.
         As a result of this operation, a snapshot of environment's specified in
         LoadSnapshotRequest is loaded into the environment.
         
      • databaseFailover

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> databaseFailover​(DatabaseFailoverRequest request)
         Triggers database failover (only for highly resilient environments).