@Generated("by gapic-generator-java")
Package com.google.cloud.orchestration.airflow.service.v1beta1
A client to Cloud Composer API
The interfaces provided are listed below, along with usage samples.
======================= EnvironmentsClient =======================
Service Description: Managed Apache Airflow Environments.
Sample for EnvironmentsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
String name = "name3373707";
Environment response = environmentsClient.getEnvironment(name);
}
======================= ImageVersionsClient =======================
Service Description: Readonly service to query available ImageVersions.
Sample for ImageVersionsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
String parent = "parent-995424086";
for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
// doThingsWith(element);
}
}
-
Class Summary Class Description CheckUpgradeRequest Request to check whether image upgrade will succeed.CheckUpgradeRequest.Builder Request to check whether image upgrade will succeed.CheckUpgradeResponse Message containing information about the result of an upgrade check operation.CheckUpgradeResponse.Builder Message containing information about the result of an upgrade check operation.CloudDataLineageIntegration Configuration for Cloud Data Lineage integration.CloudDataLineageIntegration.Builder Configuration for Cloud Data Lineage integration.CreateEnvironmentRequest Create a new environment.CreateEnvironmentRequest.Builder Create a new environment.DatabaseConfig The configuration of Cloud SQL instance that is used by the Apache Airflow software.DatabaseConfig.Builder The configuration of Cloud SQL instance that is used by the Apache Airflow software.DatabaseFailoverRequest Request to trigger database failover (only for highly resilient environments).DatabaseFailoverRequest.Builder Request to trigger database failover (only for highly resilient environments).DatabaseFailoverResponse Response for DatabaseFailoverRequest.DatabaseFailoverResponse.Builder Response for DatabaseFailoverRequest.DeleteEnvironmentRequest Delete an environment.DeleteEnvironmentRequest.Builder Delete an environment.EncryptionConfig The encryption options for the Cloud Composer environment and its dependencies.EncryptionConfig.Builder The encryption options for the Cloud Composer environment and its dependencies.Environment An environment for running orchestration tasks.Environment.Builder An environment for running orchestration tasks.EnvironmentConfig Configuration information for an environment.EnvironmentConfig.Builder Configuration information for an environment.EnvironmentName EnvironmentName.Builder Builder for projects/{project}/locations/{location}/environments/{environment}.EnvironmentsClient Service Description: Managed Apache Airflow Environments.EnvironmentsClient.ListEnvironmentsFixedSizeCollection EnvironmentsClient.ListEnvironmentsPage EnvironmentsClient.ListEnvironmentsPagedResponse EnvironmentsGrpc Managed Apache Airflow Environments.EnvironmentsGrpc.EnvironmentsBlockingStub A stub to allow clients to do synchronous rpc calls to service Environments.EnvironmentsGrpc.EnvironmentsFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service Environments.EnvironmentsGrpc.EnvironmentsImplBase Base class for the server implementation of the service Environments.EnvironmentsGrpc.EnvironmentsStub A stub to allow clients to do asynchronous rpc calls to service Environments.EnvironmentsOuterClass EnvironmentsSettings Settings class to configure an instance ofEnvironmentsClient
.EnvironmentsSettings.Builder Builder for EnvironmentsSettings.ExecuteAirflowCommandRequest Execute Airflow Command request.ExecuteAirflowCommandRequest.Builder Execute Airflow Command request.ExecuteAirflowCommandResponse Response to ExecuteAirflowCommandRequest.ExecuteAirflowCommandResponse.Builder Response to ExecuteAirflowCommandRequest.FetchDatabasePropertiesRequest Request to fetch properties of environment's database.FetchDatabasePropertiesRequest.Builder Request to fetch properties of environment's database.FetchDatabasePropertiesResponse Response for FetchDatabasePropertiesRequest.FetchDatabasePropertiesResponse.Builder Response for FetchDatabasePropertiesRequest.GetEnvironmentRequest Get an environment.GetEnvironmentRequest.Builder Get an environment.ImageVersion Image Version informationImageVersion.Builder Image Version informationImageVersionsClient Service Description: Readonly service to query available ImageVersions.ImageVersionsClient.ListImageVersionsFixedSizeCollection ImageVersionsClient.ListImageVersionsPage ImageVersionsClient.ListImageVersionsPagedResponse ImageVersionsGrpc Readonly service to query available ImageVersions.ImageVersionsGrpc.ImageVersionsBlockingStub A stub to allow clients to do synchronous rpc calls to service ImageVersions.ImageVersionsGrpc.ImageVersionsFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ImageVersions.ImageVersionsGrpc.ImageVersionsImplBase Base class for the server implementation of the service ImageVersions.ImageVersionsGrpc.ImageVersionsStub A stub to allow clients to do asynchronous rpc calls to service ImageVersions.ImageVersionsOuterClass ImageVersionsSettings Settings class to configure an instance ofImageVersionsClient
.ImageVersionsSettings.Builder Builder for ImageVersionsSettings.IPAllocationPolicy Configuration for controlling how IPs are allocated in the GKE cluster.IPAllocationPolicy.Builder Configuration for controlling how IPs are allocated in the GKE cluster.ListEnvironmentsRequest List environments in a project and location.ListEnvironmentsRequest.Builder List environments in a project and location.ListEnvironmentsResponse The environments in a project and location.ListEnvironmentsResponse.Builder The environments in a project and location.ListImageVersionsRequest List ImageVersions in a project and location.ListImageVersionsRequest.Builder List ImageVersions in a project and location.ListImageVersionsResponse The ImageVersions in a project and location.ListImageVersionsResponse.Builder The ImageVersions in a project and location.LoadSnapshotRequest Request to load a snapshot into a Cloud Composer environment.LoadSnapshotRequest.Builder Request to load a snapshot into a Cloud Composer environment.LoadSnapshotResponse Response to LoadSnapshotRequest.LoadSnapshotResponse.Builder Response to LoadSnapshotRequest.MaintenanceWindow The configuration settings for Cloud Composer maintenance window.MaintenanceWindow.Builder The configuration settings for Cloud Composer maintenance window.MasterAuthorizedNetworksConfig Configuration options for the master authorized networks feature.MasterAuthorizedNetworksConfig.Builder Configuration options for the master authorized networks feature.MasterAuthorizedNetworksConfig.CidrBlock CIDR block with an optional name.MasterAuthorizedNetworksConfig.CidrBlock.Builder CIDR block with an optional name.NetworkingConfig Configuration options for networking connections in the Composer 2 environment.NetworkingConfig.Builder Configuration options for networking connections in the Composer 2 environment.NodeConfig The configuration information for the Kubernetes Engine nodes running the Apache Airflow software.NodeConfig.Builder The configuration information for the Kubernetes Engine nodes running the Apache Airflow software.OperationMetadata Metadata describing an operation.OperationMetadata.Builder Metadata describing an operation.OperationsProto PollAirflowCommandRequest Poll Airflow Command request.PollAirflowCommandRequest.Builder Poll Airflow Command request.PollAirflowCommandResponse Response to PollAirflowCommandRequest.PollAirflowCommandResponse.Builder Response to PollAirflowCommandRequest.PollAirflowCommandResponse.ExitInfo Information about how a command ended.PollAirflowCommandResponse.ExitInfo.Builder Information about how a command ended.PollAirflowCommandResponse.Line Contains information about a single line from logs.PollAirflowCommandResponse.Line.Builder Contains information about a single line from logs.PrivateClusterConfig Configuration options for the private GKE cluster in a Cloud Composer environment.PrivateClusterConfig.Builder Configuration options for the private GKE cluster in a Cloud Composer environment.PrivateEnvironmentConfig The configuration information for configuring a Private IP Cloud Composer environment.PrivateEnvironmentConfig.Builder The configuration information for configuring a Private IP Cloud Composer environment.RecoveryConfig The Recovery settings of an environment.RecoveryConfig.Builder The Recovery settings of an environment.RestartWebServerRequest Restart Airflow web server.RestartWebServerRequest.Builder Restart Airflow web server.SaveSnapshotRequest Request to create a snapshot of a Cloud Composer environment.SaveSnapshotRequest.Builder Request to create a snapshot of a Cloud Composer environment.SaveSnapshotResponse Response to SaveSnapshotRequest.SaveSnapshotResponse.Builder Response to SaveSnapshotRequest.ScheduledSnapshotsConfig The configuration for scheduled snapshot creation mechanism.ScheduledSnapshotsConfig.Builder The configuration for scheduled snapshot creation mechanism.SoftwareConfig Specifies the selection and configuration of software inside the environment.SoftwareConfig.Builder Specifies the selection and configuration of software inside the environment.StopAirflowCommandRequest Stop Airflow Command request.StopAirflowCommandRequest.Builder Stop Airflow Command request.StopAirflowCommandResponse Response to StopAirflowCommandRequest.StopAirflowCommandResponse.Builder Response to StopAirflowCommandRequest.UpdateEnvironmentRequest Update an environment.UpdateEnvironmentRequest.Builder Update an environment.WebServerConfig The configuration settings for the Airflow web server App Engine instance.WebServerConfig.Builder The configuration settings for the Airflow web server App Engine instance.WebServerNetworkAccessControl Network-level access control policy for the Airflow web server.WebServerNetworkAccessControl.AllowedIpRange Allowed IP range with user-provided description.WebServerNetworkAccessControl.AllowedIpRange.Builder Allowed IP range with user-provided description.WebServerNetworkAccessControl.Builder Network-level access control policy for the Airflow web server.WorkloadsConfig The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment.WorkloadsConfig.Builder The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment.WorkloadsConfig.SchedulerResource Configuration for resources used by Airflow schedulers.WorkloadsConfig.SchedulerResource.Builder Configuration for resources used by Airflow schedulers.WorkloadsConfig.TriggererResource Configuration for resources used by Airflow triggerers.WorkloadsConfig.TriggererResource.Builder Configuration for resources used by Airflow triggerers.WorkloadsConfig.WebServerResource Configuration for resources used by Airflow web server.WorkloadsConfig.WebServerResource.Builder Configuration for resources used by Airflow web server.WorkloadsConfig.WorkerResource Configuration for resources used by Airflow workers.WorkloadsConfig.WorkerResource.Builder Configuration for resources used by Airflow workers. -
Enum Summary Enum Description CheckUpgradeResponse.ConflictResult Whether there were python modules conflict during image build.Environment.State State of the environment.EnvironmentConfig.EnvironmentSize The size of the Cloud Composer environment.EnvironmentConfig.ResilienceMode Resilience mode of the Cloud Composer Environment.NetworkingConfig.ConnectionType Represents connection type between Composer environment in Customer Project and the corresponding Tenant project, from a predefined list of available connection modes.OperationMetadata.State An enum describing the overall state of an operation.OperationMetadata.Type Type of longrunning operation.