public abstract static class EnvironmentsGrpc.EnvironmentsImplBase implements BindableService
Managed Apache Airflow Environments.
Implements
io.grpc.BindableServiceConstructors
EnvironmentsImplBase()
public EnvironmentsImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
checkUpgrade(CheckUpgradeRequest request, StreamObserver<Operation> responseObserver)
public void checkUpgrade(CheckUpgradeRequest request, StreamObserver<Operation> responseObserver)
Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation.
Name | Description |
request |
CheckUpgradeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Create a new environment.
Name | Description |
request |
CreateEnvironmentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Delete an environment.
Name | Description |
request |
DeleteEnvironmentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
public void getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
Get an existing environment.
Name | Description |
request |
GetEnvironmentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Environment> |
listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
public void listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
List environments.
Name | Description |
request |
ListEnvironmentsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListEnvironmentsResponse> |
loadSnapshot(LoadSnapshotRequest request, StreamObserver<Operation> responseObserver)
public void loadSnapshot(LoadSnapshotRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request |
LoadSnapshotRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
restartWebServer(RestartWebServerRequest request, StreamObserver<Operation> responseObserver)
public void restartWebServer(RestartWebServerRequest request, StreamObserver<Operation> responseObserver)
Restart Airflow web server.
Name | Description |
request |
RestartWebServerRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
saveSnapshot(SaveSnapshotRequest request, StreamObserver<Operation> responseObserver)
public void saveSnapshot(SaveSnapshotRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request |
SaveSnapshotRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Update an environment.
Name | Description |
request |
UpdateEnvironmentRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |