public static final class EnvironmentsGrpc.EnvironmentsBlockingStub extends AbstractBlockingStub<EnvironmentsGrpc.EnvironmentsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Environments.
Managed Apache Airflow Environments.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
EnvironmentsGrpc.EnvironmentsBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.EnvironmentsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
checkUpgrade(CheckUpgradeRequest request)
public 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.
createEnvironment(CreateEnvironmentRequest request)
public Operation createEnvironment(CreateEnvironmentRequest request)
Create a new environment.
createUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest request)
public UserWorkloadsConfigMap createUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest request)
Creates a user workloads ConfigMap.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
createUserWorkloadsSecret(CreateUserWorkloadsSecretRequest request)
public UserWorkloadsSecret createUserWorkloadsSecret(CreateUserWorkloadsSecretRequest request)
Creates a user workloads Secret.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
databaseFailover(DatabaseFailoverRequest request)
public Operation databaseFailover(DatabaseFailoverRequest request)
Triggers database failover (only for highly resilient environments).
deleteEnvironment(DeleteEnvironmentRequest request)
public Operation deleteEnvironment(DeleteEnvironmentRequest request)
deleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest request)
public Empty deleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest request)
Deletes a user workloads ConfigMap.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
Returns |
Type |
Description |
Empty |
|
deleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest request)
public Empty deleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest request)
Deletes a user workloads Secret.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
Returns |
Type |
Description |
Empty |
|
executeAirflowCommand(ExecuteAirflowCommandRequest request)
public ExecuteAirflowCommandResponse executeAirflowCommand(ExecuteAirflowCommandRequest request)
Executes Airflow CLI command.
fetchDatabaseProperties(FetchDatabasePropertiesRequest request)
public FetchDatabasePropertiesResponse fetchDatabaseProperties(FetchDatabasePropertiesRequest request)
Fetches database properties.
getEnvironment(GetEnvironmentRequest request)
public Environment getEnvironment(GetEnvironmentRequest request)
Get an existing environment.
getUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest request)
public UserWorkloadsConfigMap getUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest request)
Gets an existing user workloads ConfigMap.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
getUserWorkloadsSecret(GetUserWorkloadsSecretRequest request)
public UserWorkloadsSecret getUserWorkloadsSecret(GetUserWorkloadsSecretRequest request)
Gets an existing user workloads Secret.
Values of the "data" field in the response are cleared.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
listEnvironments(ListEnvironmentsRequest request)
public ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest request)
listUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest request)
public ListUserWorkloadsConfigMapsResponse listUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest request)
Lists user workloads ConfigMaps.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
listUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest request)
public ListUserWorkloadsSecretsResponse listUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest request)
Lists user workloads Secrets.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
listWorkloads(ListWorkloadsRequest request)
public ListWorkloadsResponse listWorkloads(ListWorkloadsRequest request)
Lists workloads in a Cloud Composer environment. Workload is a unit that
runs a single Composer component.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
loadSnapshot(LoadSnapshotRequest request)
public 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.
pollAirflowCommand(PollAirflowCommandRequest request)
public PollAirflowCommandResponse pollAirflowCommand(PollAirflowCommandRequest request)
Polls Airflow CLI command execution and fetches logs.
restartWebServer(RestartWebServerRequest request)
public Operation restartWebServer(RestartWebServerRequest request)
Restart Airflow web server.
saveSnapshot(SaveSnapshotRequest request)
public 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.
stopAirflowCommand(StopAirflowCommandRequest request)
public StopAirflowCommandResponse stopAirflowCommand(StopAirflowCommandRequest request)
Stops Airflow CLI command execution.
updateEnvironment(UpdateEnvironmentRequest request)
public Operation updateEnvironment(UpdateEnvironmentRequest request)
updateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest request)
public UserWorkloadsConfigMap updateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest request)
Updates a user workloads ConfigMap.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.
updateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest request)
public UserWorkloadsSecret updateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest request)
Updates a user workloads Secret.
This method is supported for Cloud Composer environments in versions
composer-3..-airflow-..* and newer.