public static final class EnvironmentsGrpc.EnvironmentsStub extends AbstractAsyncStub<EnvironmentsGrpc.EnvironmentsStub>
Managed Apache Airflow Environments.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
EnvironmentsGrpc.EnvironmentsStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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.EnvironmentsStub build(Channel channel, CallOptions callOptions)
Parameters
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
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.
Parameters
createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Create a new environment.
Parameters
deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Parameters
getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
public void getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
Get an existing environment.
Parameters
listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
public void listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
Parameters
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.
Parameters
restartWebServer(RestartWebServerRequest request, StreamObserver<Operation> responseObserver)
public void restartWebServer(RestartWebServerRequest request, StreamObserver<Operation> responseObserver)
Restart Airflow web server.
Parameters
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.
Parameters
updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Parameters