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