From edbff1ff23f13f80b9839c9a3e5e262c13b3e47a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 15 Mar 2024 13:11:55 +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/dag_processor_resource.ex | 2 +- .../lib/google_api/composer/v1/model/environment_config.ex | 2 +- .../google_api/composer/v1/model/task_logs_retention_config.ex | 2 +- clients/composer/lib/google_api/composer/v1beta1/metadata.ex | 2 +- .../google_api/composer/v1beta1/model/dag_processor_resource.ex | 2 +- .../lib/google_api/composer/v1beta1/model/environment_config.ex | 2 +- .../composer/v1beta1/model/task_logs_retention_config.ex | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/clients/composer/lib/google_api/composer/v1/metadata.ex b/clients/composer/lib/google_api/composer/v1/metadata.ex index 8a64005210..4e28fcbb23 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 "20240227" + @discovery_revision "20240310" def discovery_revision(), do: @discovery_revision end diff --git a/clients/composer/lib/google_api/composer/v1/model/dag_processor_resource.ex b/clients/composer/lib/google_api/composer/v1/model/dag_processor_resource.ex index cf44fcb350..3b7389bdb0 100644 --- a/clients/composer/lib/google_api/composer/v1/model/dag_processor_resource.ex +++ b/clients/composer/lib/google_api/composer/v1/model/dag_processor_resource.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Composer.V1.Model.DagProcessorResource do @moduledoc """ - Configuration for resources used by Airflow DAG processors. + Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. ## Attributes 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 098fa4b828..01443c09fd 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 @@ -29,7 +29,7 @@ defmodule GoogleApi.Composer.V1.Model.EnvironmentConfig do * `encryptionConfig` (*type:* `GoogleApi.Composer.V1.Model.EncryptionConfig.t`, *default:* `nil`) - Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. * `environmentSize` (*type:* `String.t`, *default:* `nil`) - Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * `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 will be applied. The default value is Saturday and Sunday 00-06 GMT. + * `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. * `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-*.*.*. diff --git a/clients/composer/lib/google_api/composer/v1/model/task_logs_retention_config.ex b/clients/composer/lib/google_api/composer/v1/model/task_logs_retention_config.ex index d4823cc969..d2288b8809 100644 --- a/clients/composer/lib/google_api/composer/v1/model/task_logs_retention_config.ex +++ b/clients/composer/lib/google_api/composer/v1/model/task_logs_retention_config.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Composer.V1.Model.TaskLogsRetentionConfig do ## Attributes - * `storageMode` (*type:* `String.t`, *default:* `nil`) - Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc + * `storageMode` (*type:* `String.t`, *default:* `nil`) - Optional. The mode of storage for Airflow workers task logs. """ use GoogleApi.Gax.ModelBase diff --git a/clients/composer/lib/google_api/composer/v1beta1/metadata.ex b/clients/composer/lib/google_api/composer/v1beta1/metadata.ex index 81618a2e8d..d2749617f7 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 "20240227" + @discovery_revision "20240310" def discovery_revision(), do: @discovery_revision end diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/dag_processor_resource.ex b/clients/composer/lib/google_api/composer/v1beta1/model/dag_processor_resource.ex index 20d7dd5fea..17aa46827a 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/dag_processor_resource.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/dag_processor_resource.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Composer.V1beta1.Model.DagProcessorResource do @moduledoc """ - Configuration for resources used by Airflow DAG processors. + Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. ## Attributes 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 fcc512d03c..a93fff4cc4 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 @@ -29,7 +29,7 @@ defmodule GoogleApi.Composer.V1beta1.Model.EnvironmentConfig do * `encryptionConfig` (*type:* `GoogleApi.Composer.V1beta1.Model.EncryptionConfig.t`, *default:* `nil`) - Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. * `environmentSize` (*type:* `String.t`, *default:* `nil`) - Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * `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, Cloud Composer components may be subject to maintenance at any time. + * `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. * `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-*.*.*. diff --git a/clients/composer/lib/google_api/composer/v1beta1/model/task_logs_retention_config.ex b/clients/composer/lib/google_api/composer/v1beta1/model/task_logs_retention_config.ex index 45b4872c20..95638e2f6e 100644 --- a/clients/composer/lib/google_api/composer/v1beta1/model/task_logs_retention_config.ex +++ b/clients/composer/lib/google_api/composer/v1beta1/model/task_logs_retention_config.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Composer.V1beta1.Model.TaskLogsRetentionConfig do ## Attributes - * `storageMode` (*type:* `String.t`, *default:* `nil`) - Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc + * `storageMode` (*type:* `String.t`, *default:* `nil`) - Optional. The mode of storage for Airflow workers task logs. """ use GoogleApi.Gax.ModelBase