Class EnvironmentsGrpc.EnvironmentsFutureStub (1.32.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.32.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  EnvironmentsGrpc . EnvironmentsFutureStub   extends   AbstractFutureStub<EnvironmentsGrpc . EnvironmentsFutureStub > 
  A stub to allow clients to do ListenableFuture-style rpc calls to service Environments.
 Managed Apache Airflow Environments.
    Inheritance 
    java.lang.Object  >  
    io.grpc.stub.AbstractStub  >  
    io.grpc.stub.AbstractFutureStub  >  
    EnvironmentsGrpc.EnvironmentsFutureStub 
   
  
    Inherited Members 
    
      io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions) 
    
    
      io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T) 
    
    
      io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
    
    
      io.grpc.stub.AbstractStub.getCallOptions() 
    
    
      io.grpc.stub.AbstractStub.getChannel() 
    
    
      io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials) 
    
    
      io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel) 
    
    
      io.grpc.stub.AbstractStub.withCompression(java.lang.String) 
    
    
      io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline) 
    
    
      io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit) 
    
    
      io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor) 
    
    
      io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...) 
    
    
      io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int) 
    
    
      io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int) 
    
    
      io.grpc.stub.AbstractStub.withWaitForReady() 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Methods
   
  build(Channel channel, CallOptions callOptions) 
  
    
protected   EnvironmentsGrpc . EnvironmentsFutureStub   build ( Channel   channel ,   CallOptions   callOptions )  
  
    
      
        Parameters  
      
        Name Description  
      
        channelio.grpc.Channel  
      
        callOptionsio.grpc.CallOptions  
     
  
  
  Overrides 
  io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions) 
  createEnvironment(CreateEnvironmentRequest request) 
  
    
public   ListenableFuture<Operation>   createEnvironment ( CreateEnvironmentRequest   request )  
   Create a new environment.
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Operation > 
     
  
  databaseFailover(DatabaseFailoverRequest request) 
  
    
public   ListenableFuture<Operation>   databaseFailover ( DatabaseFailoverRequest   request )  
   Triggers database failover (only for highly resilient environments).
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Operation > 
     
  
  deleteEnvironment(DeleteEnvironmentRequest request) 
  
    
public   ListenableFuture<Operation>   deleteEnvironment ( DeleteEnvironmentRequest   request )  
  
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Operation > 
     
  
  executeAirflowCommand(ExecuteAirflowCommandRequest request) 
  
    
public   ListenableFuture<ExecuteAirflowCommandResponse>   executeAirflowCommand ( ExecuteAirflowCommandRequest   request )  
   Executes Airflow CLI command.
fetchDatabaseProperties(FetchDatabasePropertiesRequest request) 
  
    
public   ListenableFuture<FetchDatabasePropertiesResponse>   fetchDatabaseProperties ( FetchDatabasePropertiesRequest   request )  
   Fetches database properties.
getEnvironment(GetEnvironmentRequest request) 
  
    
public   ListenableFuture<Environment>   getEnvironment ( GetEnvironmentRequest   request )  
   Get an existing environment.
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Environment > 
     
  
  listEnvironments(ListEnvironmentsRequest request) 
  
    
public   ListenableFuture<ListEnvironmentsResponse>   listEnvironments ( ListEnvironmentsRequest   request )  
  
  
  
  loadSnapshot(LoadSnapshotRequest request) 
  
    
public   ListenableFuture<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.
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Operation > 
     
  
  pollAirflowCommand(PollAirflowCommandRequest request) 
  
    
public   ListenableFuture<PollAirflowCommandResponse>   pollAirflowCommand ( PollAirflowCommandRequest   request )  
   Polls Airflow CLI command execution and fetches logs.
saveSnapshot(SaveSnapshotRequest request) 
  
    
public   ListenableFuture<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.
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Operation > 
     
  
  stopAirflowCommand(StopAirflowCommandRequest request) 
  
    
public   ListenableFuture<StopAirflowCommandResponse>   stopAirflowCommand ( StopAirflowCommandRequest   request )  
   Stops Airflow CLI command execution.
updateEnvironment(UpdateEnvironmentRequest request) 
  
    
public   ListenableFuture<Operation>   updateEnvironment ( UpdateEnvironmentRequest   request )  
  
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.common.util.concurrent.ListenableFuture <Operation > 
     
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]