- 1.51.0 (latest)
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
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.EnvironmentsFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected EnvironmentsGrpc.EnvironmentsFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
EnvironmentsGrpc.EnvironmentsFutureStub |
createEnvironment(CreateEnvironmentRequest request)
public ListenableFuture<Operation> createEnvironment(CreateEnvironmentRequest request)
Create a new environment.
Parameter | |
---|---|
Name | Description |
request |
CreateEnvironmentRequest |
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).
Parameter | |
---|---|
Name | Description |
request |
DatabaseFailoverRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteEnvironment(DeleteEnvironmentRequest request)
public ListenableFuture<Operation> deleteEnvironment(DeleteEnvironmentRequest request)
Delete an environment.
Parameter | |
---|---|
Name | Description |
request |
DeleteEnvironmentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
executeAirflowCommand(ExecuteAirflowCommandRequest request)
public ListenableFuture<ExecuteAirflowCommandResponse> executeAirflowCommand(ExecuteAirflowCommandRequest request)
Executes Airflow CLI command.
Parameter | |
---|---|
Name | Description |
request |
ExecuteAirflowCommandRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ExecuteAirflowCommandResponse> |
fetchDatabaseProperties(FetchDatabasePropertiesRequest request)
public ListenableFuture<FetchDatabasePropertiesResponse> fetchDatabaseProperties(FetchDatabasePropertiesRequest request)
Fetches database properties.
Parameter | |
---|---|
Name | Description |
request |
FetchDatabasePropertiesRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<FetchDatabasePropertiesResponse> |
getEnvironment(GetEnvironmentRequest request)
public ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)
Get an existing environment.
Parameter | |
---|---|
Name | Description |
request |
GetEnvironmentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Environment> |
listEnvironments(ListEnvironmentsRequest request)
public ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)
List environments.
Parameter | |
---|---|
Name | Description |
request |
ListEnvironmentsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse> |
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.
Parameter | |
---|---|
Name | Description |
request |
LoadSnapshotRequest |
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.
Parameter | |
---|---|
Name | Description |
request |
PollAirflowCommandRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<PollAirflowCommandResponse> |
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.
Parameter | |
---|---|
Name | Description |
request |
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.
Parameter | |
---|---|
Name | Description |
request |
StopAirflowCommandRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<StopAirflowCommandResponse> |
updateEnvironment(UpdateEnvironmentRequest request)
public ListenableFuture<Operation> updateEnvironment(UpdateEnvironmentRequest request)
Update an environment.
Parameter | |
---|---|
Name | Description |
request |
UpdateEnvironmentRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |