From 5b383fe9e6b13021b92cb07f005dd47468ba5738 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 4 Nov 2024 13:18:25 +0000 Subject: [PATCH] feat: Automated regeneration of Composer client --- clients/composer/lib/google_api/composer/v1/metadata.ex | 2 +- .../lib/google_api/composer/v1/model/environment.ex | 4 ++-- .../lib/google_api/composer/v1/model/environment_config.ex | 6 +++--- .../lib/google_api/composer/v1/model/software_config.ex | 2 +- .../composer/v1/model/user_workloads_config_map.ex | 2 +- .../google_api/composer/v1/model/user_workloads_secret.ex | 2 +- .../composer/lib/google_api/composer/v1beta1/metadata.ex | 2 +- .../lib/google_api/composer/v1beta1/model/environment.ex | 4 ++-- .../google_api/composer/v1beta1/model/environment_config.ex | 6 +++--- .../google_api/composer/v1beta1/model/software_config.ex | 2 +- .../composer/v1beta1/model/user_workloads_config_map.ex | 2 +- .../composer/v1beta1/model/user_workloads_secret.ex | 2 +- clients/composer/mix.exs | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/clients/composer/lib/google_api/composer/v1/metadata.ex b/clients/composer/lib/google_api/composer/v1/metadata.ex index 19bcb5314c..8913222eac 100644 --- a/clients/composer/lib/google_api/composer/v1/metadata.ex +++ b/clients/composer/lib/google_api/composer/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Composer.V1 do API client metadata for GoogleApi.Composer.V1. """ - @discovery_revision "20240716" + @discovery_revision "20241027" def discovery_revision(), do: @discovery_revision end diff --git a/clients/composer/lib/google_api/composer/v1/model/environment.ex b/clients/composer/lib/google_api/composer/v1/model/environment.ex index 128837842b..adc5611b4e 100644 --- a/clients/composer/lib/google_api/composer/v1/model/environment.ex +++ b/clients/composer/lib/google_api/composer/v1/model/environment.ex @@ -21,10 +21,10 @@ defmodule GoogleApi.Composer.V1.Model.Environment do ## Attributes - * `config` (*type:* `GoogleApi.Composer.V1.Model.EnvironmentConfig.t`, *default:* `nil`) - Configuration parameters for this environment. + * `config` (*type:* `GoogleApi.Composer.V1.Model.EnvironmentConfig.t`, *default:* `nil`) - Optional. Configuration parameters for this environment. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time at which this environment was created. * `labels` (*type:* `map()`, *default:* `nil`) - Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size. - * `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. * `satisfiesPzi` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. * `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. * `state` (*type:* `String.t`, *default:* `nil`) - The current state of the environment. diff --git a/clients/composer/lib/google_api/composer/v1/model/environment_config.ex b/clients/composer/lib/google_api/composer/v1/model/environment_config.ex index 01443c09fd..2f45dbc3eb 100644 --- a/clients/composer/lib/google_api/composer/v1/model/environment_config.ex +++ b/clients/composer/lib/google_api/composer/v1/model/environment_config.ex @@ -31,12 +31,12 @@ defmodule GoogleApi.Composer.V1.Model.EnvironmentConfig do * `gkeCluster` (*type:* `String.t`, *default:* `nil`) - Output only. The Kubernetes Engine cluster used to run this environment. * `maintenanceWindow` (*type:* `GoogleApi.Composer.V1.Model.MaintenanceWindow.t`, *default:* `nil`) - Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week. * `masterAuthorizedNetworksConfig` (*type:* `GoogleApi.Composer.V1.Model.MasterAuthorizedNetworksConfig.t`, *default:* `nil`) - Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no external networks allowlisted. - in case of public environment: disabled. - * `nodeConfig` (*type:* `GoogleApi.Composer.V1.Model.NodeConfig.t`, *default:* `nil`) - The configuration used for the Kubernetes Engine cluster. + * `nodeConfig` (*type:* `GoogleApi.Composer.V1.Model.NodeConfig.t`, *default:* `nil`) - Optional. The configuration used for the Kubernetes Engine cluster. * `nodeCount` (*type:* `integer()`, *default:* `nil`) - The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. - * `privateEnvironmentConfig` (*type:* `GoogleApi.Composer.V1.Model.PrivateEnvironmentConfig.t`, *default:* `nil`) - The configuration used for the Private IP Cloud Composer environment. + * `privateEnvironmentConfig` (*type:* `GoogleApi.Composer.V1.Model.PrivateEnvironmentConfig.t`, *default:* `nil`) - Optional. The configuration used for the Private IP Cloud Composer environment. * `recoveryConfig` (*type:* `GoogleApi.Composer.V1.Model.RecoveryConfig.t`, *default:* `nil`) - Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * `resilienceMode` (*type:* `String.t`, *default:* `nil`) - Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer. - * `softwareConfig` (*type:* `GoogleApi.Composer.V1.Model.SoftwareConfig.t`, *default:* `nil`) - The configuration settings for software inside the environment. + * `softwareConfig` (*type:* `GoogleApi.Composer.V1.Model.SoftwareConfig.t`, *default:* `nil`) - Optional. The configuration settings for software inside the environment. * `webServerConfig` (*type:* `GoogleApi.Composer.V1.Model.WebServerConfig.t`, *default:* `nil`) - Optional. The configuration settings for the Airflow web server App Engine instance. * `webServerNetworkAccessControl` (*type:* `GoogleApi.Composer.V1.Model.WebServerNetworkAccessControl.t`, *default:* `nil`) - Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. * `workloadsConfig` (*type:* `GoogleApi.Composer.V1.Model.WorkloadsConfig.t`, *default:* `nil`) - Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. diff --git a/clients/composer/lib/google_api/composer/v1/model/software_config.ex b/clients/composer/lib/google_api/composer/v1/model/software_config.ex index a6f7cea1e3..1ad8864fcd 100644 --- a/clients/composer/lib/google_api/composer/v1/model/software_config.ex +++ b/clients/composer/lib/google_api/composer/v1/model/software_config.ex @@ -24,7 +24,7 @@ defmodule GoogleApi.Composer.V1.Model.SoftwareConfig do * `airflowConfigOverrides` (*type:* `map()`, *default:* `nil`) - Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. * `cloudDataLineageIntegration` (*type:* `GoogleApi.Composer.V1.Model.CloudDataLineageIntegration.t`, *default:* `nil`) - Optional. The configuration for Cloud Data Lineage integration. * `envVariables` (*type:* `map()`, *default:* `nil`) - Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: * `AIRFLOW_HOME` * `C_FORCE_ROOT` * `CONTAINER_NAME` * `DAGS_FOLDER` * `GCP_PROJECT` * `GCS_BUCKET` * `GKE_CLUSTER_NAME` * `SQL_DATABASE` * `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER` - * `imageVersion` (*type:* `String.t`, *default:* `nil`) - The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview). + * `imageVersion` (*type:* `String.t`, *default:* `nil`) - Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview). * `pypiPackages` (*type:* `map()`, *default:* `nil`) - Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as "numpy" and values are the lowercase extras and version specifier such as "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a package without pinning it to a version specifier, use the empty string as the value. * `pythonVersion` (*type:* `String.t`, *default:* `nil`) - Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'. Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3. * `schedulerCount` (*type:* `integer()`, *default:* `nil`) - Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. diff --git a/clients/composer/lib/google_api/composer/v1/model/user_workloads_config_map.ex b/clients/composer/lib/google_api/composer/v1/model/user_workloads_config_map.ex index 31105d4f00..03ad7b0eb3 100644 --- a/clients/composer/lib/google_api/composer/v1/model/user_workloads_config_map.ex +++ b/clients/composer/lib/google_api/composer/v1/model/user_workloads_config_map.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Composer.V1.Model.UserWorkloadsConfigMap do ## Attributes - * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ + * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ Example: { "example_key": "example_value", "another_key": "another_value" } * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" """ diff --git a/clients/composer/lib/google_api/composer/v1/model/user_workloads_secret.ex b/clients/composer/lib/google_api/composer/v1/model/user_workloads_secret.ex index c19288e0be..d5b4292db4 100644 --- a/clients/composer/lib/google_api/composer/v1/model/user_workloads_secret.ex +++ b/clients/composer/lib/google_api/composer/v1/model/user_workloads_secret.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Composer.V1.Model.UserWorkloadsSecret do ## Attributes - * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ + * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" } * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" """ diff --git a/clients/composer/lib/google_api/composer/v1beta1/metadata.ex b/clients/composer/lib/google_api/composer/v1beta1/metadata.ex index 30efadaa33..d85ffc0eab 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/metadata.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Composer.V1beta1 do API client metadata for GoogleApi.Composer.V1beta1. """ - @discovery_revision "20240716" + @discovery_revision "20241027" def discovery_revision(), do: @discovery_revision end diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/environment.ex b/clients/composer/lib/google_api/composer/v1beta1/model/environment.ex index ebcfecbafd..e007d33e01 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/environment.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/environment.ex @@ -21,10 +21,10 @@ defmodule GoogleApi.Composer.V1beta1.Model.Environment do ## Attributes - * `config` (*type:* `GoogleApi.Composer.V1beta1.Model.EnvironmentConfig.t`, *default:* `nil`) - Configuration parameters for this environment. + * `config` (*type:* `GoogleApi.Composer.V1beta1.Model.EnvironmentConfig.t`, *default:* `nil`) - Optional. Configuration parameters for this environment. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time at which this environment was created. * `labels` (*type:* `map()`, *default:* `nil`) - Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size. - * `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. * `satisfiesPzi` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. * `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use. * `state` (*type:* `String.t`, *default:* `nil`) - The current state of the environment. diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex b/clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex index a93fff4cc4..cfc8d60a00 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex @@ -31,12 +31,12 @@ defmodule GoogleApi.Composer.V1beta1.Model.EnvironmentConfig do * `gkeCluster` (*type:* `String.t`, *default:* `nil`) - Output only. The Kubernetes Engine cluster used to run this environment. * `maintenanceWindow` (*type:* `GoogleApi.Composer.V1beta1.Model.MaintenanceWindow.t`, *default:* `nil`) - Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week. * `masterAuthorizedNetworksConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.MasterAuthorizedNetworksConfig.t`, *default:* `nil`) - Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no external networks allowlisted. - in case of public environment: disabled. - * `nodeConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.NodeConfig.t`, *default:* `nil`) - The configuration used for the Kubernetes Engine cluster. + * `nodeConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.NodeConfig.t`, *default:* `nil`) - Optional. The configuration used for the Kubernetes Engine cluster. * `nodeCount` (*type:* `integer()`, *default:* `nil`) - The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. - * `privateEnvironmentConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.PrivateEnvironmentConfig.t`, *default:* `nil`) - The configuration used for the Private IP Cloud Composer environment. + * `privateEnvironmentConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.PrivateEnvironmentConfig.t`, *default:* `nil`) - Optional. The configuration used for the Private IP Cloud Composer environment. * `recoveryConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.RecoveryConfig.t`, *default:* `nil`) - Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * `resilienceMode` (*type:* `String.t`, *default:* `nil`) - Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer. - * `softwareConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.SoftwareConfig.t`, *default:* `nil`) - The configuration settings for software inside the environment. + * `softwareConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.SoftwareConfig.t`, *default:* `nil`) - Optional. The configuration settings for software inside the environment. * `webServerConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.WebServerConfig.t`, *default:* `nil`) - Optional. The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `webServerNetworkAccessControl` (*type:* `GoogleApi.Composer.V1beta1.Model.WebServerNetworkAccessControl.t`, *default:* `nil`) - Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. * `workloadsConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.WorkloadsConfig.t`, *default:* `nil`) - Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex b/clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex index 41ce652519..0ea38a681a 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex @@ -24,7 +24,7 @@ defmodule GoogleApi.Composer.V1beta1.Model.SoftwareConfig do * `airflowConfigOverrides` (*type:* `map()`, *default:* `nil`) - Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. * `cloudDataLineageIntegration` (*type:* `GoogleApi.Composer.V1beta1.Model.CloudDataLineageIntegration.t`, *default:* `nil`) - Optional. The configuration for Cloud Data Lineage integration. * `envVariables` (*type:* `map()`, *default:* `nil`) - Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: * `AIRFLOW_HOME` * `C_FORCE_ROOT` * `CONTAINER_NAME` * `DAGS_FOLDER` * `GCP_PROJECT` * `GCS_BUCKET` * `GKE_CLUSTER_NAME` * `SQL_DATABASE` * `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER` - * `imageVersion` (*type:* `String.t`, *default:* `nil`) - The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview). + * `imageVersion` (*type:* `String.t`, *default:* `nil`) - Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview). * `pypiPackages` (*type:* `map()`, *default:* `nil`) - Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as "numpy" and values are the lowercase extras and version specifier such as "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a package without pinning it to a version specifier, use the empty string as the value. * `pythonVersion` (*type:* `String.t`, *default:* `nil`) - Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'. Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3. * `schedulerCount` (*type:* `integer()`, *default:* `nil`) - Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_config_map.ex b/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_config_map.ex index d44adf6d7e..437597ca1d 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_config_map.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_config_map.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Composer.V1beta1.Model.UserWorkloadsConfigMap do ## Attributes - * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ + * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ Example: { "example_key": "example_value", "another_key": "another_value" } * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" """ diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_secret.ex b/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_secret.ex index f392a95c6d..478272ccb6 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_secret.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/user_workloads_secret.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Composer.V1beta1.Model.UserWorkloadsSecret do ## Attributes - * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ + * `data` (*type:* `map()`, *default:* `nil`) - Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" } * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" """ diff --git a/clients/composer/mix.exs b/clients/composer/mix.exs index 62060eba99..0dbf400559 100644 --- a/clients/composer/mix.exs +++ b/clients/composer/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Composer.Mixfile do use Mix.Project - @version "0.36.0" + @version "0.36.1" def project() do [