diff --git a/docs/dyn/composer_v1.projects.locations.environments.html b/docs/dyn/composer_v1.projects.locations.environments.html index 0a122271c7d..5642222fa00 100644 --- a/docs/dyn/composer_v1.projects.locations.environments.html +++ b/docs/dyn/composer_v1.projects.locations.environments.html @@ -152,6 +152,10 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. Details: go/composer-database-retention-2 + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, @@ -486,6 +490,10 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. Details: go/composer-database-retention-2 + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, @@ -666,6 +674,10 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. Details: go/composer-database-retention-2 + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, @@ -900,6 +912,10 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. Details: go/composer-database-retention-2 + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, diff --git a/docs/dyn/composer_v1beta1.projects.locations.environments.html b/docs/dyn/composer_v1beta1.projects.locations.environments.html index 2f0b41800c7..d0ceadea26f 100644 --- a/docs/dyn/composer_v1beta1.projects.locations.environments.html +++ b/docs/dyn/composer_v1beta1.projects.locations.environments.html @@ -200,6 +200,11 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowDatabaseRetentionDays": 42, # Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, @@ -535,6 +540,11 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowDatabaseRetentionDays": 42, # Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, @@ -716,6 +726,11 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowDatabaseRetentionDays": 42, # Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, @@ -951,6 +966,11 @@

Method Details

"airflowUri": "A String", # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). "dagGcsPrefix": "A String", # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. "dataRetentionConfig": { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism. + "airflowDatabaseRetentionDays": 42, # Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0. + "airflowMetadataRetentionConfig": { # The policy for airflow metadata database retention. # Optional. The retention policy for airflow metadata database. + "retentionDays": 42, # Optional. How many days data should be retained for. + "retentionMode": "A String", # Optional. Retention can be either enabled or disabled. + }, "taskLogsRetentionConfig": { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention "storageMode": "A String", # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc }, diff --git a/googleapiclient/discovery_cache/documents/composer.v1.json b/googleapiclient/discovery_cache/documents/composer.v1.json index 3e9644b2b1e..0bfcb96a573 100644 --- a/googleapiclient/discovery_cache/documents/composer.v1.json +++ b/googleapiclient/discovery_cache/documents/composer.v1.json @@ -938,9 +938,35 @@ } } }, -"revision": "20240221", +"revision": "20240227", "rootUrl": "https://composer.googleapis.com/", "schemas": { +"AirflowMetadataRetentionPolicyConfig": { +"description": "The policy for airflow metadata database retention.", +"id": "AirflowMetadataRetentionPolicyConfig", +"properties": { +"retentionDays": { +"description": "Optional. How many days data should be retained for.", +"format": "int32", +"type": "integer" +}, +"retentionMode": { +"description": "Optional. Retention can be either enabled or disabled.", +"enum": [ +"RETENTION_MODE_UNSPECIFIED", +"RETENTION_MODE_ENABLED", +"RETENTION_MODE_DISABLED" +], +"enumDescriptions": [ +"Default mode doesn't change environment parameters.", +"Retention policy is enabled.", +"Retention policy is disabled." +], +"type": "string" +} +}, +"type": "object" +}, "AllowedIpRange": { "description": "Allowed IP range with user-provided description.", "id": "AllowedIpRange", @@ -1138,6 +1164,10 @@ "description": "The configuration setting for Airflow database data retention mechanism.", "id": "DataRetentionConfig", "properties": { +"airflowMetadataRetentionConfig": { +"$ref": "AirflowMetadataRetentionPolicyConfig", +"description": "Optional. The retention policy for airflow metadata database. Details: go/composer-database-retention-2" +}, "taskLogsRetentionConfig": { "$ref": "TaskLogsRetentionConfig", "description": "Optional. The configuration settings for task logs retention" diff --git a/googleapiclient/discovery_cache/documents/composer.v1beta1.json b/googleapiclient/discovery_cache/documents/composer.v1beta1.json index 9f1e4e99f39..548eb81de6f 100644 --- a/googleapiclient/discovery_cache/documents/composer.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/composer.v1beta1.json @@ -994,9 +994,35 @@ } } }, -"revision": "20240221", +"revision": "20240227", "rootUrl": "https://composer.googleapis.com/", "schemas": { +"AirflowMetadataRetentionPolicyConfig": { +"description": "The policy for airflow metadata database retention.", +"id": "AirflowMetadataRetentionPolicyConfig", +"properties": { +"retentionDays": { +"description": "Optional. How many days data should be retained for.", +"format": "int32", +"type": "integer" +}, +"retentionMode": { +"description": "Optional. Retention can be either enabled or disabled.", +"enum": [ +"RETENTION_MODE_UNSPECIFIED", +"RETENTION_MODE_ENABLED", +"RETENTION_MODE_DISABLED" +], +"enumDescriptions": [ +"Default mode doesn't change environment parameters.", +"Retention policy is enabled.", +"Retention policy is disabled." +], +"type": "string" +} +}, +"type": "object" +}, "AllowedIpRange": { "description": "Allowed IP range with user-provided description.", "id": "AllowedIpRange", @@ -1205,6 +1231,16 @@ "description": "The configuration setting for Airflow database data retention mechanism.", "id": "DataRetentionConfig", "properties": { +"airflowDatabaseRetentionDays": { +"deprecated": true, +"description": "Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.", +"format": "int32", +"type": "integer" +}, +"airflowMetadataRetentionConfig": { +"$ref": "AirflowMetadataRetentionPolicyConfig", +"description": "Optional. The retention policy for airflow metadata database." +}, "taskLogsRetentionConfig": { "$ref": "TaskLogsRetentionConfig", "description": "Optional. The configuration settings for task logs retention"