Cloud Composer v1 API - Class Environments.EnvironmentsClient (2.5.0)

public class Environments.EnvironmentsClient : ClientBase<Environments.EnvironmentsClient>

Reference documentation and code samples for the Cloud Composer v1 API class Environments.EnvironmentsClient.

Client for Environments

Inheritance

object > ClientBase > ClientBaseEnvironmentsEnvironmentsClient > Environments.EnvironmentsClient

Namespace

Google.Cloud.Orchestration.Airflow.Service.V1

Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

Constructors

EnvironmentsClient()

protected EnvironmentsClient()

Protected parameterless constructor to allow creation of test doubles.

EnvironmentsClient(CallInvoker)

public EnvironmentsClient(CallInvoker callInvoker)

Creates a new client for Environments that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

EnvironmentsClient(ChannelBase)

public EnvironmentsClient(ChannelBase channel)

Creates a new client for Environments

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

EnvironmentsClient(ClientBaseConfiguration)

protected EnvironmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateEnvironment(CreateEnvironmentRequest, CallOptions)

public virtual Operation CreateEnvironment(CreateEnvironmentRequest request, CallOptions options)

Create a new environment.

Parameters
NameDescription
requestCreateEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateEnvironment(CreateEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateEnvironment(CreateEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new environment.

Parameters
NameDescription
requestCreateEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateEnvironmentAsync(CreateEnvironmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateEnvironmentAsync(CreateEnvironmentRequest request, CallOptions options)

Create a new environment.

Parameters
NameDescription
requestCreateEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateEnvironmentAsync(CreateEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateEnvironmentAsync(CreateEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create a new environment.

Parameters
NameDescription
requestCreateEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest, CallOptions)

public virtual UserWorkloadsConfigMap CreateUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest request, CallOptions options)

Creates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UserWorkloadsConfigMap

The response received from the server.

CreateUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual UserWorkloadsConfigMap CreateUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UserWorkloadsConfigMap

The response received from the server.

CreateUserWorkloadsConfigMapAsync(CreateUserWorkloadsConfigMapRequest, CallOptions)

public virtual AsyncUnaryCall<UserWorkloadsConfigMap> CreateUserWorkloadsConfigMapAsync(CreateUserWorkloadsConfigMapRequest request, CallOptions options)

Creates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsConfigMap

The call object.

CreateUserWorkloadsConfigMapAsync(CreateUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UserWorkloadsConfigMap> CreateUserWorkloadsConfigMapAsync(CreateUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsConfigMap

The call object.

CreateUserWorkloadsSecret(CreateUserWorkloadsSecretRequest, CallOptions)

public virtual UserWorkloadsSecret CreateUserWorkloadsSecret(CreateUserWorkloadsSecretRequest request, CallOptions options)

Creates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UserWorkloadsSecret

The response received from the server.

CreateUserWorkloadsSecret(CreateUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual UserWorkloadsSecret CreateUserWorkloadsSecret(CreateUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UserWorkloadsSecret

The response received from the server.

CreateUserWorkloadsSecretAsync(CreateUserWorkloadsSecretRequest, CallOptions)

public virtual AsyncUnaryCall<UserWorkloadsSecret> CreateUserWorkloadsSecretAsync(CreateUserWorkloadsSecretRequest request, CallOptions options)

Creates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsSecret

The call object.

CreateUserWorkloadsSecretAsync(CreateUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UserWorkloadsSecret> CreateUserWorkloadsSecretAsync(CreateUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestCreateUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsSecret

The call object.

DatabaseFailover(DatabaseFailoverRequest, CallOptions)

public virtual Operation DatabaseFailover(DatabaseFailoverRequest request, CallOptions options)

Triggers database failover (only for highly resilient environments).

Parameters
NameDescription
requestDatabaseFailoverRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DatabaseFailover(DatabaseFailoverRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DatabaseFailover(DatabaseFailoverRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Triggers database failover (only for highly resilient environments).

Parameters
NameDescription
requestDatabaseFailoverRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DatabaseFailoverAsync(DatabaseFailoverRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DatabaseFailoverAsync(DatabaseFailoverRequest request, CallOptions options)

Triggers database failover (only for highly resilient environments).

Parameters
NameDescription
requestDatabaseFailoverRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DatabaseFailoverAsync(DatabaseFailoverRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DatabaseFailoverAsync(DatabaseFailoverRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Triggers database failover (only for highly resilient environments).

Parameters
NameDescription
requestDatabaseFailoverRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteEnvironment(DeleteEnvironmentRequest, CallOptions)

public virtual Operation DeleteEnvironment(DeleteEnvironmentRequest request, CallOptions options)

Delete an environment.

Parameters
NameDescription
requestDeleteEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteEnvironment(DeleteEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteEnvironment(DeleteEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an environment.

Parameters
NameDescription
requestDeleteEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteEnvironmentAsync(DeleteEnvironmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteEnvironmentAsync(DeleteEnvironmentRequest request, CallOptions options)

Delete an environment.

Parameters
NameDescription
requestDeleteEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteEnvironmentAsync(DeleteEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteEnvironmentAsync(DeleteEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an environment.

Parameters
NameDescription
requestDeleteEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest, CallOptions)

public virtual Empty DeleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest request, CallOptions options)

Deletes a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteUserWorkloadsConfigMapAsync(DeleteUserWorkloadsConfigMapRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteUserWorkloadsConfigMapAsync(DeleteUserWorkloadsConfigMapRequest request, CallOptions options)

Deletes a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteUserWorkloadsConfigMapAsync(DeleteUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteUserWorkloadsConfigMapAsync(DeleteUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest, CallOptions)

public virtual Empty DeleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest request, CallOptions options)

Deletes a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteUserWorkloadsSecretAsync(DeleteUserWorkloadsSecretRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteUserWorkloadsSecretAsync(DeleteUserWorkloadsSecretRequest request, CallOptions options)

Deletes a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteUserWorkloadsSecretAsync(DeleteUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteUserWorkloadsSecretAsync(DeleteUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestDeleteUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

ExecuteAirflowCommand(ExecuteAirflowCommandRequest, CallOptions)

public virtual ExecuteAirflowCommandResponse ExecuteAirflowCommand(ExecuteAirflowCommandRequest request, CallOptions options)

Executes Airflow CLI command.

Parameters
NameDescription
requestExecuteAirflowCommandRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ExecuteAirflowCommandResponse

The response received from the server.

ExecuteAirflowCommand(ExecuteAirflowCommandRequest, Metadata, DateTime?, CancellationToken)

public virtual ExecuteAirflowCommandResponse ExecuteAirflowCommand(ExecuteAirflowCommandRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Executes Airflow CLI command.

Parameters
NameDescription
requestExecuteAirflowCommandRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ExecuteAirflowCommandResponse

The response received from the server.

ExecuteAirflowCommandAsync(ExecuteAirflowCommandRequest, CallOptions)

public virtual AsyncUnaryCall<ExecuteAirflowCommandResponse> ExecuteAirflowCommandAsync(ExecuteAirflowCommandRequest request, CallOptions options)

Executes Airflow CLI command.

Parameters
NameDescription
requestExecuteAirflowCommandRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallExecuteAirflowCommandResponse

The call object.

ExecuteAirflowCommandAsync(ExecuteAirflowCommandRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ExecuteAirflowCommandResponse> ExecuteAirflowCommandAsync(ExecuteAirflowCommandRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Executes Airflow CLI command.

Parameters
NameDescription
requestExecuteAirflowCommandRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallExecuteAirflowCommandResponse

The call object.

FetchDatabaseProperties(FetchDatabasePropertiesRequest, CallOptions)

public virtual FetchDatabasePropertiesResponse FetchDatabaseProperties(FetchDatabasePropertiesRequest request, CallOptions options)

Fetches database properties.

Parameters
NameDescription
requestFetchDatabasePropertiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchDatabasePropertiesResponse

The response received from the server.

FetchDatabaseProperties(FetchDatabasePropertiesRequest, Metadata, DateTime?, CancellationToken)

public virtual FetchDatabasePropertiesResponse FetchDatabaseProperties(FetchDatabasePropertiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches database properties.

Parameters
NameDescription
requestFetchDatabasePropertiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
FetchDatabasePropertiesResponse

The response received from the server.

FetchDatabasePropertiesAsync(FetchDatabasePropertiesRequest, CallOptions)

public virtual AsyncUnaryCall<FetchDatabasePropertiesResponse> FetchDatabasePropertiesAsync(FetchDatabasePropertiesRequest request, CallOptions options)

Fetches database properties.

Parameters
NameDescription
requestFetchDatabasePropertiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFetchDatabasePropertiesResponse

The call object.

FetchDatabasePropertiesAsync(FetchDatabasePropertiesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<FetchDatabasePropertiesResponse> FetchDatabasePropertiesAsync(FetchDatabasePropertiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches database properties.

Parameters
NameDescription
requestFetchDatabasePropertiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFetchDatabasePropertiesResponse

The call object.

GetEnvironment(GetEnvironmentRequest, CallOptions)

public virtual Environment GetEnvironment(GetEnvironmentRequest request, CallOptions options)

Get an existing environment.

Parameters
NameDescription
requestGetEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Environment

The response received from the server.

GetEnvironment(GetEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Environment GetEnvironment(GetEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get an existing environment.

Parameters
NameDescription
requestGetEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Environment

The response received from the server.

GetEnvironmentAsync(GetEnvironmentRequest, CallOptions)

public virtual AsyncUnaryCall<Environment> GetEnvironmentAsync(GetEnvironmentRequest request, CallOptions options)

Get an existing environment.

Parameters
NameDescription
requestGetEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEnvironment

The call object.

GetEnvironmentAsync(GetEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Environment> GetEnvironmentAsync(GetEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get an existing environment.

Parameters
NameDescription
requestGetEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEnvironment

The call object.

GetUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest, CallOptions)

public virtual UserWorkloadsConfigMap GetUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest request, CallOptions options)

Gets an existing user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestGetUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UserWorkloadsConfigMap

The response received from the server.

GetUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual UserWorkloadsConfigMap GetUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an existing user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestGetUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UserWorkloadsConfigMap

The response received from the server.

GetUserWorkloadsConfigMapAsync(GetUserWorkloadsConfigMapRequest, CallOptions)

public virtual AsyncUnaryCall<UserWorkloadsConfigMap> GetUserWorkloadsConfigMapAsync(GetUserWorkloadsConfigMapRequest request, CallOptions options)

Gets an existing user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestGetUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsConfigMap

The call object.

GetUserWorkloadsConfigMapAsync(GetUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UserWorkloadsConfigMap> GetUserWorkloadsConfigMapAsync(GetUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an existing user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestGetUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsConfigMap

The call object.

GetUserWorkloadsSecret(GetUserWorkloadsSecretRequest, CallOptions)

public virtual UserWorkloadsSecret GetUserWorkloadsSecret(GetUserWorkloadsSecretRequest request, CallOptions options)

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.

Parameters
NameDescription
requestGetUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UserWorkloadsSecret

The response received from the server.

GetUserWorkloadsSecret(GetUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual UserWorkloadsSecret GetUserWorkloadsSecret(GetUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
NameDescription
requestGetUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UserWorkloadsSecret

The response received from the server.

GetUserWorkloadsSecretAsync(GetUserWorkloadsSecretRequest, CallOptions)

public virtual AsyncUnaryCall<UserWorkloadsSecret> GetUserWorkloadsSecretAsync(GetUserWorkloadsSecretRequest request, CallOptions options)

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.

Parameters
NameDescription
requestGetUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsSecret

The call object.

GetUserWorkloadsSecretAsync(GetUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UserWorkloadsSecret> GetUserWorkloadsSecretAsync(GetUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
NameDescription
requestGetUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsSecret

The call object.

ListEnvironments(ListEnvironmentsRequest, CallOptions)

public virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request, CallOptions options)

List environments.

Parameters
NameDescription
requestListEnvironmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEnvironmentsResponse

The response received from the server.

ListEnvironments(ListEnvironmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List environments.

Parameters
NameDescription
requestListEnvironmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListEnvironmentsResponse

The response received from the server.

ListEnvironmentsAsync(ListEnvironmentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEnvironmentsResponse> ListEnvironmentsAsync(ListEnvironmentsRequest request, CallOptions options)

List environments.

Parameters
NameDescription
requestListEnvironmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListEnvironmentsResponse

The call object.

ListEnvironmentsAsync(ListEnvironmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEnvironmentsResponse> ListEnvironmentsAsync(ListEnvironmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List environments.

Parameters
NameDescription
requestListEnvironmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListEnvironmentsResponse

The call object.

ListUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest, CallOptions)

public virtual ListUserWorkloadsConfigMapsResponse ListUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest request, CallOptions options)

Lists user workloads ConfigMaps.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsConfigMapsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListUserWorkloadsConfigMapsResponse

The response received from the server.

ListUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListUserWorkloadsConfigMapsResponse ListUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists user workloads ConfigMaps.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsConfigMapsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListUserWorkloadsConfigMapsResponse

The response received from the server.

ListUserWorkloadsConfigMapsAsync(ListUserWorkloadsConfigMapsRequest, CallOptions)

public virtual AsyncUnaryCall<ListUserWorkloadsConfigMapsResponse> ListUserWorkloadsConfigMapsAsync(ListUserWorkloadsConfigMapsRequest request, CallOptions options)

Lists user workloads ConfigMaps.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsConfigMapsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListUserWorkloadsConfigMapsResponse

The call object.

ListUserWorkloadsConfigMapsAsync(ListUserWorkloadsConfigMapsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListUserWorkloadsConfigMapsResponse> ListUserWorkloadsConfigMapsAsync(ListUserWorkloadsConfigMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists user workloads ConfigMaps.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsConfigMapsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListUserWorkloadsConfigMapsResponse

The call object.

ListUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest, CallOptions)

public virtual ListUserWorkloadsSecretsResponse ListUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest request, CallOptions options)

Lists user workloads Secrets.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsSecretsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListUserWorkloadsSecretsResponse

The response received from the server.

ListUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListUserWorkloadsSecretsResponse ListUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists user workloads Secrets.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsSecretsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListUserWorkloadsSecretsResponse

The response received from the server.

ListUserWorkloadsSecretsAsync(ListUserWorkloadsSecretsRequest, CallOptions)

public virtual AsyncUnaryCall<ListUserWorkloadsSecretsResponse> ListUserWorkloadsSecretsAsync(ListUserWorkloadsSecretsRequest request, CallOptions options)

Lists user workloads Secrets.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsSecretsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListUserWorkloadsSecretsResponse

The call object.

ListUserWorkloadsSecretsAsync(ListUserWorkloadsSecretsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListUserWorkloadsSecretsResponse> ListUserWorkloadsSecretsAsync(ListUserWorkloadsSecretsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists user workloads Secrets.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestListUserWorkloadsSecretsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListUserWorkloadsSecretsResponse

The call object.

ListWorkloads(ListWorkloadsRequest, CallOptions)

public virtual ListWorkloadsResponse ListWorkloads(ListWorkloadsRequest request, CallOptions options)

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.

Parameters
NameDescription
requestListWorkloadsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListWorkloadsResponse

The response received from the server.

ListWorkloads(ListWorkloadsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListWorkloadsResponse ListWorkloads(ListWorkloadsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
NameDescription
requestListWorkloadsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListWorkloadsResponse

The response received from the server.

ListWorkloadsAsync(ListWorkloadsRequest, CallOptions)

public virtual AsyncUnaryCall<ListWorkloadsResponse> ListWorkloadsAsync(ListWorkloadsRequest request, CallOptions options)

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.

Parameters
NameDescription
requestListWorkloadsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListWorkloadsResponse

The call object.

ListWorkloadsAsync(ListWorkloadsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListWorkloadsResponse> ListWorkloadsAsync(ListWorkloadsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
NameDescription
requestListWorkloadsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListWorkloadsResponse

The call object.

LoadSnapshot(LoadSnapshotRequest, CallOptions)

public virtual Operation LoadSnapshot(LoadSnapshotRequest request, CallOptions options)

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
NameDescription
requestLoadSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

LoadSnapshot(LoadSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation LoadSnapshot(LoadSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestLoadSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

LoadSnapshotAsync(LoadSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> LoadSnapshotAsync(LoadSnapshotRequest request, CallOptions options)

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
NameDescription
requestLoadSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

LoadSnapshotAsync(LoadSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> LoadSnapshotAsync(LoadSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestLoadSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

NewInstance(ClientBaseConfiguration)

protected override Environments.EnvironmentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
EnvironmentsEnvironmentsClient
Overrides

PollAirflowCommand(PollAirflowCommandRequest, CallOptions)

public virtual PollAirflowCommandResponse PollAirflowCommand(PollAirflowCommandRequest request, CallOptions options)

Polls Airflow CLI command execution and fetches logs.

Parameters
NameDescription
requestPollAirflowCommandRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PollAirflowCommandResponse

The response received from the server.

PollAirflowCommand(PollAirflowCommandRequest, Metadata, DateTime?, CancellationToken)

public virtual PollAirflowCommandResponse PollAirflowCommand(PollAirflowCommandRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Polls Airflow CLI command execution and fetches logs.

Parameters
NameDescription
requestPollAirflowCommandRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PollAirflowCommandResponse

The response received from the server.

PollAirflowCommandAsync(PollAirflowCommandRequest, CallOptions)

public virtual AsyncUnaryCall<PollAirflowCommandResponse> PollAirflowCommandAsync(PollAirflowCommandRequest request, CallOptions options)

Polls Airflow CLI command execution and fetches logs.

Parameters
NameDescription
requestPollAirflowCommandRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPollAirflowCommandResponse

The call object.

PollAirflowCommandAsync(PollAirflowCommandRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PollAirflowCommandResponse> PollAirflowCommandAsync(PollAirflowCommandRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Polls Airflow CLI command execution and fetches logs.

Parameters
NameDescription
requestPollAirflowCommandRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPollAirflowCommandResponse

The call object.

SaveSnapshot(SaveSnapshotRequest, CallOptions)

public virtual Operation SaveSnapshot(SaveSnapshotRequest request, CallOptions options)

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
NameDescription
requestSaveSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SaveSnapshot(SaveSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SaveSnapshot(SaveSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestSaveSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

SaveSnapshotAsync(SaveSnapshotRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SaveSnapshotAsync(SaveSnapshotRequest request, CallOptions options)

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
NameDescription
requestSaveSnapshotRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SaveSnapshotAsync(SaveSnapshotRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SaveSnapshotAsync(SaveSnapshotRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
NameDescription
requestSaveSnapshotRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

StopAirflowCommand(StopAirflowCommandRequest, CallOptions)

public virtual StopAirflowCommandResponse StopAirflowCommand(StopAirflowCommandRequest request, CallOptions options)

Stops Airflow CLI command execution.

Parameters
NameDescription
requestStopAirflowCommandRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
StopAirflowCommandResponse

The response received from the server.

StopAirflowCommand(StopAirflowCommandRequest, Metadata, DateTime?, CancellationToken)

public virtual StopAirflowCommandResponse StopAirflowCommand(StopAirflowCommandRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Stops Airflow CLI command execution.

Parameters
NameDescription
requestStopAirflowCommandRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
StopAirflowCommandResponse

The response received from the server.

StopAirflowCommandAsync(StopAirflowCommandRequest, CallOptions)

public virtual AsyncUnaryCall<StopAirflowCommandResponse> StopAirflowCommandAsync(StopAirflowCommandRequest request, CallOptions options)

Stops Airflow CLI command execution.

Parameters
NameDescription
requestStopAirflowCommandRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallStopAirflowCommandResponse

The call object.

StopAirflowCommandAsync(StopAirflowCommandRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<StopAirflowCommandResponse> StopAirflowCommandAsync(StopAirflowCommandRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Stops Airflow CLI command execution.

Parameters
NameDescription
requestStopAirflowCommandRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallStopAirflowCommandResponse

The call object.

UpdateEnvironment(UpdateEnvironmentRequest, CallOptions)

public virtual Operation UpdateEnvironment(UpdateEnvironmentRequest request, CallOptions options)

Update an environment.

Parameters
NameDescription
requestUpdateEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateEnvironment(UpdateEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateEnvironment(UpdateEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update an environment.

Parameters
NameDescription
requestUpdateEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateEnvironmentAsync(UpdateEnvironmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, CallOptions options)

Update an environment.

Parameters
NameDescription
requestUpdateEnvironmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateEnvironmentAsync(UpdateEnvironmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update an environment.

Parameters
NameDescription
requestUpdateEnvironmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest, CallOptions)

public virtual UserWorkloadsConfigMap UpdateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest request, CallOptions options)

Updates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UserWorkloadsConfigMap

The response received from the server.

UpdateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual UserWorkloadsConfigMap UpdateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UserWorkloadsConfigMap

The response received from the server.

UpdateUserWorkloadsConfigMapAsync(UpdateUserWorkloadsConfigMapRequest, CallOptions)

public virtual AsyncUnaryCall<UserWorkloadsConfigMap> UpdateUserWorkloadsConfigMapAsync(UpdateUserWorkloadsConfigMapRequest request, CallOptions options)

Updates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsConfigMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsConfigMap

The call object.

UpdateUserWorkloadsConfigMapAsync(UpdateUserWorkloadsConfigMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UserWorkloadsConfigMap> UpdateUserWorkloadsConfigMapAsync(UpdateUserWorkloadsConfigMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a user workloads ConfigMap.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsConfigMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsConfigMap

The call object.

UpdateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest, CallOptions)

public virtual UserWorkloadsSecret UpdateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest request, CallOptions options)

Updates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UserWorkloadsSecret

The response received from the server.

UpdateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual UserWorkloadsSecret UpdateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UserWorkloadsSecret

The response received from the server.

UpdateUserWorkloadsSecretAsync(UpdateUserWorkloadsSecretRequest, CallOptions)

public virtual AsyncUnaryCall<UserWorkloadsSecret> UpdateUserWorkloadsSecretAsync(UpdateUserWorkloadsSecretRequest request, CallOptions options)

Updates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsSecretRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsSecret

The call object.

UpdateUserWorkloadsSecretAsync(UpdateUserWorkloadsSecretRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UserWorkloadsSecret> UpdateUserWorkloadsSecretAsync(UpdateUserWorkloadsSecretRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a user workloads Secret.

This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

Parameters
NameDescription
requestUpdateUserWorkloadsSecretRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUserWorkloadsSecret

The call object.