public static final class EnvironmentsGrpc.EnvironmentsFutureStub extends io.grpc.stub.AbstractFutureStub<EnvironmentsGrpc.EnvironmentsFutureStub>
Managed Apache Airflow Environments.
| Modifier and Type | Method and Description |
|---|---|
protected EnvironmentsGrpc.EnvironmentsFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
checkUpgrade(CheckUpgradeRequest request)
Check if an upgrade operation on the environment will succeed.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createEnvironment(CreateEnvironmentRequest request)
Create a new environment.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
databaseFailover(DatabaseFailoverRequest request)
Triggers database failover (only for highly resilient environments).
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteEnvironment(DeleteEnvironmentRequest request)
Delete an environment.
|
com.google.common.util.concurrent.ListenableFuture<ExecuteAirflowCommandResponse> |
executeAirflowCommand(ExecuteAirflowCommandRequest request)
Executes Airflow CLI command.
|
com.google.common.util.concurrent.ListenableFuture<FetchDatabasePropertiesResponse> |
fetchDatabaseProperties(FetchDatabasePropertiesRequest request)
Fetches database properties.
|
com.google.common.util.concurrent.ListenableFuture<Environment> |
getEnvironment(GetEnvironmentRequest request)
Get an existing environment.
|
com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse> |
listEnvironments(ListEnvironmentsRequest request)
List environments.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
loadSnapshot(LoadSnapshotRequest request)
Loads a snapshot of a Cloud Composer environment.
|
com.google.common.util.concurrent.ListenableFuture<PollAirflowCommandResponse> |
pollAirflowCommand(PollAirflowCommandRequest request)
Polls Airflow CLI command execution and fetches logs.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
restartWebServer(RestartWebServerRequest request)
Restart Airflow web server.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
saveSnapshot(SaveSnapshotRequest request)
Creates a snapshots of a Cloud Composer environment.
|
com.google.common.util.concurrent.ListenableFuture<StopAirflowCommandResponse> |
stopAirflowCommand(StopAirflowCommandRequest request)
Stops Airflow CLI command execution.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateEnvironment(UpdateEnvironmentRequest request)
Update an environment.
|
protected EnvironmentsGrpc.EnvironmentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<EnvironmentsGrpc.EnvironmentsFutureStub>public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createEnvironment(CreateEnvironmentRequest request)
Create a new environment.
public com.google.common.util.concurrent.ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)
Get an existing environment.
public com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)
List environments.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateEnvironment(UpdateEnvironmentRequest request)
Update an environment.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteEnvironment(DeleteEnvironmentRequest request)
Delete an environment.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> restartWebServer(RestartWebServerRequest request)
Restart Airflow web server.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> checkUpgrade(CheckUpgradeRequest request)
Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation.
public com.google.common.util.concurrent.ListenableFuture<ExecuteAirflowCommandResponse> executeAirflowCommand(ExecuteAirflowCommandRequest request)
Executes Airflow CLI command.
public com.google.common.util.concurrent.ListenableFuture<StopAirflowCommandResponse> stopAirflowCommand(StopAirflowCommandRequest request)
Stops Airflow CLI command execution.
public com.google.common.util.concurrent.ListenableFuture<PollAirflowCommandResponse> pollAirflowCommand(PollAirflowCommandRequest request)
Polls Airflow CLI command execution and fetches logs.
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.
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.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> databaseFailover(DatabaseFailoverRequest request)
Triggers database failover (only for highly resilient environments).
public com.google.common.util.concurrent.ListenableFuture<FetchDatabasePropertiesResponse> fetchDatabaseProperties(FetchDatabasePropertiesRequest request)
Fetches database properties.
Copyright © 2023 Google LLC. All rights reserved.