@maxim_mazurok/gapi.client.composer-v1 0.0.20240221 → 0.0.20240310

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +11 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://composer.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240221
12
+ // Revision: 20240310
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,6 +24,12 @@ declare namespace gapi.client {
24
24
  function load(name: 'composer', version: 'v1', callback: () => any): void;
25
25
 
26
26
  namespace composer {
27
+ interface AirflowMetadataRetentionPolicyConfig {
28
+ /** Optional. How many days data should be retained for. */
29
+ retentionDays?: number;
30
+ /** Optional. Retention can be either enabled or disabled. */
31
+ retentionMode?: string;
32
+ }
27
33
  interface AllowedIpRange {
28
34
  /** Optional. User-provided description. It must contain at most 300 characters. */
29
35
  description?: string;
@@ -87,6 +93,8 @@ declare namespace gapi.client {
87
93
  interface DatabaseFailoverRequest {}
88
94
  interface DatabaseFailoverResponse {}
89
95
  interface DataRetentionConfig {
96
+ /** Optional. The retention policy for airflow metadata database. Details: go/composer-database-retention-2 */
97
+ airflowMetadataRetentionConfig?: AirflowMetadataRetentionPolicyConfig;
90
98
  /** Optional. The configuration settings for task logs retention */
91
99
  taskLogsRetentionConfig?: TaskLogsRetentionConfig;
92
100
  }
@@ -140,7 +148,7 @@ declare namespace gapi.client {
140
148
  environmentSize?: string;
141
149
  /** Output only. The Kubernetes Engine cluster used to run this environment. */
142
150
  gkeCluster?: string;
143
- /** 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. */
151
+ /** 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. */
144
152
  maintenanceWindow?: MaintenanceWindow;
145
153
  /** 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. */
146
154
  masterAuthorizedNetworksConfig?: MasterAuthorizedNetworksConfig;
@@ -475,7 +483,7 @@ declare namespace gapi.client {
475
483
  bucket?: string;
476
484
  }
477
485
  interface TaskLogsRetentionConfig {
478
- /** 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
+ /** Optional. The mode of storage for Airflow workers task logs. */
479
487
  storageMode?: string;
480
488
  }
481
489
  interface TriggererResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.composer-v1",
3
- "version": "0.0.20240221",
3
+ "version": "0.0.20240310",
4
4
  "description": "TypeScript typings for Cloud Composer API v1",
5
5
  "repository": {
6
6
  "type": "git",