Skip to content

Commit

Permalink
feat(composer): update the api
Browse files Browse the repository at this point in the history
#### composer:v1beta1

The following keys were added:
- schemas.EnvironmentConfig.properties.recoveryConfig.$ref (Total Keys: 1)
- schemas.RecoveryConfig (Total Keys: 3)
- schemas.ScheduledSnapshotsConfig (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Nov 22, 2022
1 parent e602008 commit 626bf19
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 2 deletions.
32 changes: 32 additions & 0 deletions docs/dyn/composer_v1beta1.projects.locations.environments.html
Expand Up @@ -232,6 +232,14 @@ <h3>Method Details</h3>
&quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
&quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
},
&quot;recoveryConfig&quot;: { # The Recovery settings of an environment. # Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
&quot;scheduledSnapshotsConfig&quot;: { # The configuration for scheduled snapshot creation mechanism. # Optional. The configuration for scheduled snapshot creation mechanism.
&quot;enabled&quot;: True or False, # Optional. Whether scheduled snapshots creation is enabled.
&quot;snapshotCreationSchedule&quot;: &quot;A String&quot;, # Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.
&quot;snapshotLocation&quot;: &quot;A String&quot;, # Optional. The Cloud Storage location for storing automatically created snapshots.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
},
},
&quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
&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.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -442,6 +450,14 @@ <h3>Method Details</h3>
&quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
&quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
},
&quot;recoveryConfig&quot;: { # The Recovery settings of an environment. # Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
&quot;scheduledSnapshotsConfig&quot;: { # The configuration for scheduled snapshot creation mechanism. # Optional. The configuration for scheduled snapshot creation mechanism.
&quot;enabled&quot;: True or False, # Optional. Whether scheduled snapshots creation is enabled.
&quot;snapshotCreationSchedule&quot;: &quot;A String&quot;, # Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.
&quot;snapshotLocation&quot;: &quot;A String&quot;, # Optional. The Cloud Storage location for storing automatically created snapshots.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
},
},
&quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
&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.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -593,6 +609,14 @@ <h3>Method Details</h3>
&quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
&quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
},
&quot;recoveryConfig&quot;: { # The Recovery settings of an environment. # Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
&quot;scheduledSnapshotsConfig&quot;: { # The configuration for scheduled snapshot creation mechanism. # Optional. The configuration for scheduled snapshot creation mechanism.
&quot;enabled&quot;: True or False, # Optional. Whether scheduled snapshots creation is enabled.
&quot;snapshotCreationSchedule&quot;: &quot;A String&quot;, # Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.
&quot;snapshotLocation&quot;: &quot;A String&quot;, # Optional. The Cloud Storage location for storing automatically created snapshots.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
},
},
&quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
&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.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -798,6 +822,14 @@ <h3>Method Details</h3>
&quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
&quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
},
&quot;recoveryConfig&quot;: { # The Recovery settings of an environment. # Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
&quot;scheduledSnapshotsConfig&quot;: { # The configuration for scheduled snapshot creation mechanism. # Optional. The configuration for scheduled snapshot creation mechanism.
&quot;enabled&quot;: True or False, # Optional. Whether scheduled snapshots creation is enabled.
&quot;snapshotCreationSchedule&quot;: &quot;A String&quot;, # Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.
&quot;snapshotLocation&quot;: &quot;A String&quot;, # Optional. The Cloud Storage location for storing automatically created snapshots.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
},
},
&quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
&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.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
2 changes: 1 addition & 1 deletion googleapiclient/discovery_cache/documents/composer.v1.json
Expand Up @@ -406,7 +406,7 @@
}
}
},
"revision": "20221104",
"revision": "20221114",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"AllowedIpRange": {
Expand Down
40 changes: 39 additions & 1 deletion googleapiclient/discovery_cache/documents/composer.v1beta1.json
Expand Up @@ -518,7 +518,7 @@
}
}
},
"revision": "20221104",
"revision": "20221114",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"AllowedIpRange": {
Expand Down Expand Up @@ -789,6 +789,10 @@
"$ref": "PrivateEnvironmentConfig",
"description": "The configuration used for the Private IP Cloud Composer environment."
},
"recoveryConfig": {
"$ref": "RecoveryConfig",
"description": "Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer."
},
"softwareConfig": {
"$ref": "SoftwareConfig",
"description": "The configuration settings for software inside the environment."
Expand Down Expand Up @@ -1321,6 +1325,17 @@
},
"type": "object"
},
"RecoveryConfig": {
"description": "The Recovery settings of an environment.",
"id": "RecoveryConfig",
"properties": {
"scheduledSnapshotsConfig": {
"$ref": "ScheduledSnapshotsConfig",
"description": "Optional. The configuration for scheduled snapshot creation mechanism."
}
},
"type": "object"
},
"RestartWebServerRequest": {
"description": "Restart Airflow web server.",
"id": "RestartWebServerRequest",
Expand Down Expand Up @@ -1349,6 +1364,29 @@
},
"type": "object"
},
"ScheduledSnapshotsConfig": {
"description": "The configuration for scheduled snapshot creation mechanism.",
"id": "ScheduledSnapshotsConfig",
"properties": {
"enabled": {
"description": "Optional. Whether scheduled snapshots creation is enabled.",
"type": "boolean"
},
"snapshotCreationSchedule": {
"description": "Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.",
"type": "string"
},
"snapshotLocation": {
"description": "Optional. The Cloud Storage location for storing automatically created snapshots.",
"type": "string"
},
"timeZone": {
"description": "Optional. Time zone that sets the context to interpret snapshot_creation_schedule.",
"type": "string"
}
},
"type": "object"
},
"SchedulerResource": {
"description": "Configuration for resources used by Airflow schedulers.",
"id": "SchedulerResource",
Expand Down

0 comments on commit 626bf19

Please sign in to comment.