Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2508494

Browse files
committedJan 16, 2024
feat(composer): update the api
#### composer:v1 The following keys were added: - schemas.CloudDataLineageIntegration (Total Keys: 3) - schemas.DataRetentionConfig (Total Keys: 3) - schemas.EnvironmentConfig.properties.dataRetentionConfig.$ref (Total Keys: 1) - schemas.SoftwareConfig.properties.cloudDataLineageIntegration.$ref (Total Keys: 1) - schemas.TaskLogsRetentionConfig (Total Keys: 3) #### composer:v1beta1 The following keys were added: - schemas.DataRetentionConfig (Total Keys: 3) - schemas.EnvironmentConfig.properties.dataRetentionConfig.$ref (Total Keys: 1) - schemas.TaskLogsRetentionConfig (Total Keys: 3)
1 parent 43f6df0 commit 2508494

File tree

4 files changed

+141
-2
lines changed

4 files changed

+141
-2
lines changed
 

‎docs/dyn/composer_v1.projects.locations.environments.html

+32
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ <h3>Method Details</h3>
136136
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
137137
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
138138
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
139+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
140+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
141+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
142+
},
143+
},
139144
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
140145
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
141146
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -213,6 +218,9 @@ <h3>Method Details</h3>
213218
&quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing square brackets (&quot;]&quot;). The property name must not be empty and must not contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names must not contain a period (&quot;.&quot;). 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.
214219
&quot;a_key&quot;: &quot;A String&quot;,
215220
},
221+
&quot;cloudDataLineageIntegration&quot;: { # Configuration for Cloud Data Lineage integration. # Optional. The configuration for Cloud Data Lineage integration.
222+
&quot;enabled&quot;: True or False, # Optional. Whether or not Cloud Data Lineage integration is enabled.
223+
},
216224
&quot;envVariables&quot;: { # 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`
217225
&quot;a_key&quot;: &quot;A String&quot;,
218226
},
@@ -452,6 +460,11 @@ <h3>Method Details</h3>
452460
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
453461
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
454462
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
463+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
464+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
465+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
466+
},
467+
},
455468
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
456469
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
457470
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -529,6 +542,9 @@ <h3>Method Details</h3>
529542
&quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing square brackets (&quot;]&quot;). The property name must not be empty and must not contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names must not contain a period (&quot;.&quot;). 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.
530543
&quot;a_key&quot;: &quot;A String&quot;,
531544
},
545+
&quot;cloudDataLineageIntegration&quot;: { # Configuration for Cloud Data Lineage integration. # Optional. The configuration for Cloud Data Lineage integration.
546+
&quot;enabled&quot;: True or False, # Optional. Whether or not Cloud Data Lineage integration is enabled.
547+
},
532548
&quot;envVariables&quot;: { # 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`
533549
&quot;a_key&quot;: &quot;A String&quot;,
534550
},
@@ -614,6 +630,11 @@ <h3>Method Details</h3>
614630
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
615631
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
616632
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
633+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
634+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
635+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
636+
},
637+
},
617638
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
618639
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
619640
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -691,6 +712,9 @@ <h3>Method Details</h3>
691712
&quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing square brackets (&quot;]&quot;). The property name must not be empty and must not contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names must not contain a period (&quot;.&quot;). 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.
692713
&quot;a_key&quot;: &quot;A String&quot;,
693714
},
715+
&quot;cloudDataLineageIntegration&quot;: { # Configuration for Cloud Data Lineage integration. # Optional. The configuration for Cloud Data Lineage integration.
716+
&quot;enabled&quot;: True or False, # Optional. Whether or not Cloud Data Lineage integration is enabled.
717+
},
694718
&quot;envVariables&quot;: { # 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`
695719
&quot;a_key&quot;: &quot;A String&quot;,
696720
},
@@ -830,6 +854,11 @@ <h3>Method Details</h3>
830854
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
831855
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
832856
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
857+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
858+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
859+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
860+
},
861+
},
833862
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
834863
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
835864
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -907,6 +936,9 @@ <h3>Method Details</h3>
907936
&quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing square brackets (&quot;]&quot;). The property name must not be empty and must not contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names must not contain a period (&quot;.&quot;). 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.
908937
&quot;a_key&quot;: &quot;A String&quot;,
909938
},
939+
&quot;cloudDataLineageIntegration&quot;: { # Configuration for Cloud Data Lineage integration. # Optional. The configuration for Cloud Data Lineage integration.
940+
&quot;enabled&quot;: True or False, # Optional. Whether or not Cloud Data Lineage integration is enabled.
941+
},
910942
&quot;envVariables&quot;: { # 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`
911943
&quot;a_key&quot;: &quot;A String&quot;,
912944
},

‎docs/dyn/composer_v1beta1.projects.locations.environments.html

+20
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ <h3>Method Details</h3>
184184
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
185185
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
186186
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
187+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
188+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
189+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
190+
},
191+
},
187192
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
188193
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
189194
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -514,6 +519,11 @@ <h3>Method Details</h3>
514519
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
515520
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
516521
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
522+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
523+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
524+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
525+
},
526+
},
517527
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
518528
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
519529
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -690,6 +700,11 @@ <h3>Method Details</h3>
690700
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
691701
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
692702
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
703+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
704+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
705+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
706+
},
707+
},
693708
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
694709
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
695710
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.
@@ -920,6 +935,11 @@ <h3>Method Details</h3>
920935
&quot;airflowByoidUri&quot;: &quot;A String&quot;, # Output only. The &#x27;bring your own identity&#x27; variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
921936
&quot;airflowUri&quot;: &quot;A String&quot;, # 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)).
922937
&quot;dagGcsPrefix&quot;: &quot;A String&quot;, # 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 &quot;/&quot;-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
938+
&quot;dataRetentionConfig&quot;: { # The configuration setting for Airflow database data retention mechanism. # Optional. The configuration setting for Airflow database data retention mechanism.
939+
&quot;taskLogsRetentionConfig&quot;: { # The configuration setting for Task Logs. # Optional. The configuration settings for task logs retention
940+
&quot;storageMode&quot;: &quot;A String&quot;, # Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc
941+
},
942+
},
923943
&quot;databaseConfig&quot;: { # The configuration of Cloud SQL instance that is used by the Apache Airflow software. # Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
924944
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
925945
&quot;zone&quot;: &quot;A String&quot;, # Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.

‎googleapiclient/discovery_cache/documents/composer.v1.json

+52-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@
599599
}
600600
}
601601
},
602-
"revision": "20231205",
602+
"revision": "20240106",
603603
"rootUrl": "https://composer.googleapis.com/",
604604
"schemas": {
605605
"AllowedIpRange": {
@@ -675,6 +675,28 @@
675675
},
676676
"type": "object"
677677
},
678+
"CloudDataLineageIntegration": {
679+
"description": "Configuration for Cloud Data Lineage integration.",
680+
"id": "CloudDataLineageIntegration",
681+
"properties": {
682+
"enabled": {
683+
"description": "Optional. Whether or not Cloud Data Lineage integration is enabled.",
684+
"type": "boolean"
685+
}
686+
},
687+
"type": "object"
688+
},
689+
"DataRetentionConfig": {
690+
"description": "The configuration setting for Airflow database data retention mechanism.",
691+
"id": "DataRetentionConfig",
692+
"properties": {
693+
"taskLogsRetentionConfig": {
694+
"$ref": "TaskLogsRetentionConfig",
695+
"description": "Optional. The configuration settings for task logs retention"
696+
}
697+
},
698+
"type": "object"
699+
},
678700
"DatabaseConfig": {
679701
"description": "The configuration of Cloud SQL instance that is used by the Apache Airflow software.",
680702
"id": "DatabaseConfig",
@@ -823,6 +845,10 @@
823845
"description": "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.",
824846
"type": "string"
825847
},
848+
"dataRetentionConfig": {
849+
"$ref": "DataRetentionConfig",
850+
"description": "Optional. The configuration setting for Airflow database data retention mechanism."
851+
},
826852
"databaseConfig": {
827853
"$ref": "DatabaseConfig",
828854
"description": "Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software."
@@ -1578,6 +1604,10 @@
15781604
"description": "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.",
15791605
"type": "object"
15801606
},
1607+
"cloudDataLineageIntegration": {
1608+
"$ref": "CloudDataLineageIntegration",
1609+
"description": "Optional. The configuration for Cloud Data Lineage integration."
1610+
},
15811611
"envVariables": {
15821612
"additionalProperties": {
15831613
"type": "string"
@@ -1687,6 +1717,27 @@
16871717
},
16881718
"type": "object"
16891719
},
1720+
"TaskLogsRetentionConfig": {
1721+
"description": "The configuration setting for Task Logs.",
1722+
"id": "TaskLogsRetentionConfig",
1723+
"properties": {
1724+
"storageMode": {
1725+
"description": "Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc",
1726+
"enum": [
1727+
"TASK_LOGS_STORAGE_MODE_UNSPECIFIED",
1728+
"CLOUD_LOGGING_AND_CLOUD_STORAGE",
1729+
"CLOUD_LOGGING_ONLY"
1730+
],
1731+
"enumDescriptions": [
1732+
"This configuration is not specified by the user.",
1733+
"Store task logs in Cloud Logging and in the environment's Cloud Storage bucket.",
1734+
"Store task logs in Cloud Logging only."
1735+
],
1736+
"type": "string"
1737+
}
1738+
},
1739+
"type": "object"
1740+
},
16901741
"TriggererResource": {
16911742
"description": "Configuration for resources used by Airflow triggerers.",
16921743
"id": "TriggererResource",

‎googleapiclient/discovery_cache/documents/composer.v1beta1.json

+37-1
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@
655655
}
656656
}
657657
},
658-
"revision": "20231205",
658+
"revision": "20240106",
659659
"rootUrl": "https://composer.googleapis.com/",
660660
"schemas": {
661661
"AllowedIpRange": {
@@ -780,6 +780,17 @@
780780
},
781781
"type": "object"
782782
},
783+
"DataRetentionConfig": {
784+
"description": "The configuration setting for Airflow database data retention mechanism.",
785+
"id": "DataRetentionConfig",
786+
"properties": {
787+
"taskLogsRetentionConfig": {
788+
"$ref": "TaskLogsRetentionConfig",
789+
"description": "Optional. The configuration settings for task logs retention"
790+
}
791+
},
792+
"type": "object"
793+
},
783794
"DatabaseConfig": {
784795
"description": "The configuration of Cloud SQL instance that is used by the Apache Airflow software.",
785796
"id": "DatabaseConfig",
@@ -933,6 +944,10 @@
933944
"readOnly": true,
934945
"type": "string"
935946
},
947+
"dataRetentionConfig": {
948+
"$ref": "DataRetentionConfig",
949+
"description": "Optional. The configuration setting for Airflow database data retention mechanism."
950+
},
936951
"databaseConfig": {
937952
"$ref": "DatabaseConfig",
938953
"description": "Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software."
@@ -1837,6 +1852,27 @@
18371852
},
18381853
"type": "object"
18391854
},
1855+
"TaskLogsRetentionConfig": {
1856+
"description": "The configuration setting for Task Logs.",
1857+
"id": "TaskLogsRetentionConfig",
1858+
"properties": {
1859+
"storageMode": {
1860+
"description": "Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc",
1861+
"enum": [
1862+
"TASK_LOGS_STORAGE_MODE_UNSPECIFIED",
1863+
"CLOUD_LOGGING_AND_CLOUD_STORAGE",
1864+
"CLOUD_LOGGING_ONLY"
1865+
],
1866+
"enumDescriptions": [
1867+
"This configuration is not specified by the user.",
1868+
"Store task logs in Cloud Logging and in the environment's Cloud Storage bucket.",
1869+
"Store task logs in Cloud Logging only."
1870+
],
1871+
"type": "string"
1872+
}
1873+
},
1874+
"type": "object"
1875+
},
18401876
"TriggererResource": {
18411877
"description": "Configuration for resources used by Airflow triggerers.",
18421878
"id": "TriggererResource",

0 commit comments

Comments
 (0)
Please sign in to comment.