# Package service_v1.types (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.0 1.17.5 1.16.1 1.15.1 1.14.0 1.13.1 1.12.2 1.11.1 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.5.0 1.4.4 1.3.2 1.2.1 1.1.0 1.0.0 0.1.3 API documentation for `service_v1.types` package.

## Classes

### [AirflowMetadataRetentionPolicyConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.AirflowMetadataRetentionPolicyConfig)

The policy for airflow metadata database retention.

### [CheckUpgradeRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.CheckUpgradeRequest)

Request to check whether image upgrade will succeed.

### [CheckUpgradeResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.CheckUpgradeResponse)

Message containing information about the result of an upgrade
check operation.

### [CloudDataLineageIntegration](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.CloudDataLineageIntegration)

Configuration for Cloud Data Lineage integration.

### [CreateEnvironmentRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.CreateEnvironmentRequest)

Create a new environment.

### [CreateUserWorkloadsConfigMapRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.CreateUserWorkloadsConfigMapRequest)

Create user workloads ConfigMap request.

### [CreateUserWorkloadsSecretRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.CreateUserWorkloadsSecretRequest)

Create user workloads Secret request.

### [DataRetentionConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DataRetentionConfig)

The configuration setting for Airflow database data retention
mechanism.

### [DatabaseConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DatabaseConfig)

The configuration of Cloud SQL instance that is used by the
Apache Airflow software.

### [DatabaseFailoverRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DatabaseFailoverRequest)

Request to trigger database failover (only for highly
resilient environments).

### [DatabaseFailoverResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DatabaseFailoverResponse)

Response for DatabaseFailoverRequest.

### [DeleteEnvironmentRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DeleteEnvironmentRequest)

Delete an environment.

### [DeleteUserWorkloadsConfigMapRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DeleteUserWorkloadsConfigMapRequest)

Delete user workloads ConfigMap request.

### [DeleteUserWorkloadsSecretRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.DeleteUserWorkloadsSecretRequest)

Delete user workloads Secret request.

### [EncryptionConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.EncryptionConfig)

The encryption options for the Cloud Composer environment and its
dependencies.Supported for Cloud Composer environments in versions
composer-1.\\ *.* -airflow-*.*.\*.

### [Environment](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.Environment)

An environment for running orchestration tasks.

### [EnvironmentConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.EnvironmentConfig)

Configuration information for an environment.

### [ExecuteAirflowCommandRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ExecuteAirflowCommandRequest)

Execute Airflow Command request.

### [ExecuteAirflowCommandResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ExecuteAirflowCommandResponse)

Response to ExecuteAirflowCommandRequest.

### [FetchDatabasePropertiesRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.FetchDatabasePropertiesRequest)

Request to fetch properties of environment's database.

### [FetchDatabasePropertiesResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.FetchDatabasePropertiesResponse)

Response for FetchDatabasePropertiesRequest.

### [GetEnvironmentRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.GetEnvironmentRequest)

Get an environment.

### [GetUserWorkloadsConfigMapRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.GetUserWorkloadsConfigMapRequest)

Get user workloads ConfigMap request.

### [GetUserWorkloadsSecretRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.GetUserWorkloadsSecretRequest)

Get user workloads Secret request.

### [IPAllocationPolicy](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.IPAllocationPolicy)

Configuration for controlling how IPs are allocated in the
GKE cluster running the Apache Airflow software.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ImageVersion](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ImageVersion)

ImageVersion information

### [ListEnvironmentsRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListEnvironmentsRequest)

List environments in a project and location.

### [ListEnvironmentsResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListEnvironmentsResponse)

The environments in a project and location.

### [ListImageVersionsRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListImageVersionsRequest)

List ImageVersions in a project and location.

### [ListImageVersionsResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListImageVersionsResponse)

The ImageVersions in a project and location.

### [ListUserWorkloadsConfigMapsRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListUserWorkloadsConfigMapsRequest)

List user workloads ConfigMaps request.

### [ListUserWorkloadsConfigMapsResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListUserWorkloadsConfigMapsResponse)

The user workloads ConfigMaps for a given environment.

### [ListUserWorkloadsSecretsRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListUserWorkloadsSecretsRequest)

List user workloads Secrets request.

### [ListUserWorkloadsSecretsResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListUserWorkloadsSecretsResponse)

The user workloads Secrets for a given environment.

### [ListWorkloadsRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListWorkloadsRequest)

Request for listing workloads in a Cloud Composer
environment.

### [ListWorkloadsResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ListWorkloadsResponse)

Response to ListWorkloadsRequest.

### [LoadSnapshotRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.LoadSnapshotRequest)

Request to load a snapshot into a Cloud Composer environment.

### [LoadSnapshotResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.LoadSnapshotResponse)

Response to LoadSnapshotRequest.

### [MaintenanceWindow](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.MaintenanceWindow)

The configuration settings for Cloud Composer maintenance window.
The following example:

::

      {
        "startTime":"2019-08-01T01:00:00Z"
        "endTime":"2019-08-01T07:00:00Z"
        "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE"
      }

would define a maintenance window between 01 and 07 hours UTC during
each Tuesday and Wednesday.

### [MasterAuthorizedNetworksConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.MasterAuthorizedNetworksConfig)

Configuration options for the master authorized networks
feature. Enabled master authorized networks will disallow all
external traffic to access Kubernetes master through HTTPS
except traffic from the given CIDR blocks, Google Compute Engine
Public IPs and Google Prod IPs.

### [NetworkingConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.NetworkingConfig)

Configuration options for networking connections in the
Composer 2 environment.

### [NodeConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.NodeConfig)

The configuration information for the Kubernetes Engine nodes
running the Apache Airflow software.

### [OperationMetadata](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.OperationMetadata)

Metadata describing an operation.

### [PollAirflowCommandRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.PollAirflowCommandRequest)

Poll Airflow Command request.

### [PollAirflowCommandResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.PollAirflowCommandResponse)

Response to PollAirflowCommandRequest.

### [PrivateClusterConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.PrivateClusterConfig)

Configuration options for the private GKE cluster in a Cloud
Composer environment.

### [PrivateEnvironmentConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.PrivateEnvironmentConfig)

The configuration information for configuring a Private IP
Cloud Composer environment.

### [RecoveryConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.RecoveryConfig)

The Recovery settings of an environment.

### [SaveSnapshotRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.SaveSnapshotRequest)

Request to create a snapshot of a Cloud Composer environment.

### [SaveSnapshotResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.SaveSnapshotResponse)

Response to SaveSnapshotRequest.

### [ScheduledSnapshotsConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.ScheduledSnapshotsConfig)

The configuration for scheduled snapshot creation mechanism.

### [SoftwareConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.SoftwareConfig)

Specifies the selection and configuration of software inside
the environment.

### [StopAirflowCommandRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.StopAirflowCommandRequest)

Stop Airflow Command request.

### [StopAirflowCommandResponse](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.StopAirflowCommandResponse)

Response to StopAirflowCommandRequest.

### [StorageConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.StorageConfig)

The configuration for data storage in the environment.

### [TaskLogsRetentionConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.TaskLogsRetentionConfig)

The configuration setting for Task Logs.

### [UpdateEnvironmentRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.UpdateEnvironmentRequest)

Update an environment.

### [UpdateUserWorkloadsConfigMapRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.UpdateUserWorkloadsConfigMapRequest)

Update user workloads ConfigMap request.

### [UpdateUserWorkloadsSecretRequest](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.UpdateUserWorkloadsSecretRequest)

Update user workloads Secret request.

### [UserWorkloadsConfigMap](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.UserWorkloadsConfigMap)

User workloads ConfigMap used by Airflow tasks that run with
Kubernetes executor or KubernetesPodOperator.

### [UserWorkloadsSecret](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.UserWorkloadsSecret)

User workloads Secret used by Airflow tasks that run with
Kubernetes executor or KubernetesPodOperator.

### [WebServerConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.WebServerConfig)

The configuration settings for the Airflow web server App Engine
instance. Supported for Cloud Composer environments in versions
composer-1.\\ *.* -airflow-*.*.\*

### [WebServerNetworkAccessControl](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.WebServerNetworkAccessControl)

Network-level access control policy for the Airflow web
server.

### [WorkloadsConfig](https://docs.cloud.google.com/python/docs/reference/composer/latest/google.cloud.orchestration.airflow.service_v1.types.WorkloadsConfig)

The Kubernetes workloads configuration for GKE cluster associated
with the Cloud Composer environment. Supported for Cloud Composer
environments in versions composer-2.\\ *.* -airflow-*.*.\* and newer.