@maxim_mazurok/gapi.client.gkebackup-v1 0.0.20230621 → 0.0.20230719
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.
- package/index.d.ts +158 -155
- package/package.json +1 -1
- package/tests.ts +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://gkebackup.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230719
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -64,16 +64,16 @@ declare namespace gapi.client {
|
|
|
64
64
|
createTime?:
|
|
65
65
|
string;
|
|
66
66
|
/**
|
|
67
|
-
* Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the
|
|
68
|
-
* days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days
|
|
69
|
-
* may only be increased (either at creation time or in a subsequent update).
|
|
67
|
+
* Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the
|
|
68
|
+
* number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days
|
|
69
|
+
* setting and may only be increased (either at creation time or in a subsequent update).
|
|
70
70
|
*/
|
|
71
71
|
deleteLockDays?:
|
|
72
72
|
number;
|
|
73
73
|
/** Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days). */
|
|
74
74
|
deleteLockExpireTime?:
|
|
75
75
|
string;
|
|
76
|
-
/** User specified descriptive string for this Backup. */
|
|
76
|
+
/** Optional. User specified descriptive string for this Backup. */
|
|
77
77
|
description?:
|
|
78
78
|
string;
|
|
79
79
|
/** Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value. */
|
|
@@ -86,7 +86,7 @@ declare namespace gapi.client {
|
|
|
86
86
|
*/
|
|
87
87
|
etag?:
|
|
88
88
|
string;
|
|
89
|
-
/** A set of custom labels supplied by user. */
|
|
89
|
+
/** Optional. A set of custom labels supplied by user. */
|
|
90
90
|
labels?:
|
|
91
91
|
{ [P in string]: string };
|
|
92
92
|
/**
|
|
@@ -105,8 +105,8 @@ declare namespace gapi.client {
|
|
|
105
105
|
resourceCount?:
|
|
106
106
|
number;
|
|
107
107
|
/**
|
|
108
|
-
* The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not
|
|
109
|
-
* must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
|
|
108
|
+
* Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not
|
|
109
|
+
* 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
|
|
110
110
|
*/
|
|
111
111
|
retainDays?:
|
|
112
112
|
number;
|
|
@@ -143,15 +143,15 @@ declare namespace gapi.client {
|
|
|
143
143
|
allNamespaces?:
|
|
144
144
|
boolean;
|
|
145
145
|
/**
|
|
146
|
-
* This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default
|
|
147
|
-
* backup artifacts will not be encrypted.
|
|
146
|
+
* Optional. This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default
|
|
147
|
+
* (empty): Config backup artifacts will not be encrypted.
|
|
148
148
|
*/
|
|
149
149
|
encryptionKey?:
|
|
150
150
|
EncryptionKey;
|
|
151
|
-
/** This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False */
|
|
151
|
+
/** Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False */
|
|
152
152
|
includeSecrets?:
|
|
153
153
|
boolean;
|
|
154
|
-
/** This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False */
|
|
154
|
+
/** Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False */
|
|
155
155
|
includeVolumeData?:
|
|
156
156
|
boolean;
|
|
157
157
|
/** If set, include just the resources referenced by the listed ProtectedApplications. */
|
|
@@ -162,10 +162,10 @@ declare namespace gapi.client {
|
|
|
162
162
|
Namespaces;
|
|
163
163
|
}
|
|
164
164
|
interface BackupPlan {
|
|
165
|
-
/** Defines the configuration of Backups created via this BackupPlan. */
|
|
165
|
+
/** Optional. Defines the configuration of Backups created via this BackupPlan. */
|
|
166
166
|
backupConfig?:
|
|
167
167
|
BackupConfig;
|
|
168
|
-
/** Defines a schedule for automatic Backup creation via this BackupPlan. */
|
|
168
|
+
/** Optional. Defines a schedule for automatic Backup creation via this BackupPlan. */
|
|
169
169
|
backupSchedule?:
|
|
170
170
|
Schedule;
|
|
171
171
|
/**
|
|
@@ -178,12 +178,12 @@ declare namespace gapi.client {
|
|
|
178
178
|
createTime?:
|
|
179
179
|
string;
|
|
180
180
|
/**
|
|
181
|
-
* This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except
|
|
182
|
-
* including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
|
|
181
|
+
* Optional. This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except
|
|
182
|
+
* deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
|
|
183
183
|
*/
|
|
184
184
|
deactivated?:
|
|
185
185
|
boolean;
|
|
186
|
-
/** User specified descriptive string for this BackupPlan. */
|
|
186
|
+
/** Optional. User specified descriptive string for this BackupPlan. */
|
|
187
187
|
description?:
|
|
188
188
|
string;
|
|
189
189
|
/**
|
|
@@ -194,7 +194,7 @@ declare namespace gapi.client {
|
|
|
194
194
|
*/
|
|
195
195
|
etag?:
|
|
196
196
|
string;
|
|
197
|
-
/** A set of custom labels supplied by user. */
|
|
197
|
+
/** Optional. A set of custom labels supplied by user. */
|
|
198
198
|
labels?:
|
|
199
199
|
{ [P in string]: string };
|
|
200
200
|
/** Output only. The full name of the BackupPlan resource. Format: `projects/*/locations/*/backupPlans/*` */
|
|
@@ -203,7 +203,7 @@ declare namespace gapi.client {
|
|
|
203
203
|
/** Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. */
|
|
204
204
|
protectedPodCount?:
|
|
205
205
|
number;
|
|
206
|
-
/** RetentionPolicy governs lifecycle of Backups created under this plan. */
|
|
206
|
+
/** Optional. RetentionPolicy governs lifecycle of Backups created under this plan. */
|
|
207
207
|
retentionPolicy?:
|
|
208
208
|
RetentionPolicy;
|
|
209
209
|
/**
|
|
@@ -253,41 +253,44 @@ declare namespace gapi.client {
|
|
|
253
253
|
string;
|
|
254
254
|
}
|
|
255
255
|
interface ClusterMetadata {
|
|
256
|
-
/** Anthos version */
|
|
256
|
+
/** Output only. Anthos version */
|
|
257
257
|
anthosVersion?:
|
|
258
258
|
string;
|
|
259
|
-
/** A list of the Backup for GKE CRD versions found in the cluster. */
|
|
259
|
+
/** Output only. A list of the Backup for GKE CRD versions found in the cluster. */
|
|
260
260
|
backupCrdVersions?:
|
|
261
261
|
{ [P in string]: string };
|
|
262
262
|
/**
|
|
263
|
-
* The source cluster from which this Backup was created. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*` This is inherited from
|
|
264
|
-
* BackupPlan's cluster field.
|
|
263
|
+
* Output only. The source cluster from which this Backup was created. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*` This is inherited from
|
|
264
|
+
* the parent BackupPlan's cluster field.
|
|
265
265
|
*/
|
|
266
266
|
cluster?:
|
|
267
267
|
string;
|
|
268
|
-
/** GKE version */
|
|
268
|
+
/** Output only. GKE version */
|
|
269
269
|
gkeVersion?:
|
|
270
270
|
string;
|
|
271
|
-
/** The Kubernetes server version of the source cluster. */
|
|
271
|
+
/** Output only. The Kubernetes server version of the source cluster. */
|
|
272
272
|
k8sVersion?:
|
|
273
273
|
string;
|
|
274
274
|
}
|
|
275
275
|
interface ClusterResourceRestoreScope {
|
|
276
|
-
/** If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message. */
|
|
276
|
+
/** Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message. */
|
|
277
277
|
allGroupKinds?:
|
|
278
278
|
boolean;
|
|
279
279
|
/**
|
|
280
|
-
* A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified
|
|
281
|
-
* list. Mutually exclusive to any other field in the message.
|
|
280
|
+
* Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified
|
|
281
|
+
* in the list. Mutually exclusive to any other field in the message.
|
|
282
282
|
*/
|
|
283
283
|
excludedGroupKinds?:
|
|
284
284
|
GroupKind[];
|
|
285
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the
|
|
287
|
+
* message.
|
|
288
|
+
*/
|
|
286
289
|
noGroupKinds?:
|
|
287
290
|
boolean;
|
|
288
291
|
/**
|
|
289
|
-
* A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field
|
|
290
|
-
* message.
|
|
292
|
+
* Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field
|
|
293
|
+
* in the message.
|
|
291
294
|
*/
|
|
292
295
|
selectedGroupKinds?:
|
|
293
296
|
GroupKind[];
|
|
@@ -296,7 +299,7 @@ declare namespace gapi.client {
|
|
|
296
299
|
interface Empty {
|
|
297
300
|
}
|
|
298
301
|
interface EncryptionKey {
|
|
299
|
-
/** Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*` */
|
|
302
|
+
/** Optional. Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*` */
|
|
300
303
|
gcpKmsEncryptionKey?:
|
|
301
304
|
string;
|
|
302
305
|
}
|
|
@@ -367,10 +370,10 @@ declare namespace gapi.client {
|
|
|
367
370
|
string;
|
|
368
371
|
}
|
|
369
372
|
interface GroupKind {
|
|
370
|
-
/** API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group */
|
|
373
|
+
/** Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group */
|
|
371
374
|
resourceGroup?:
|
|
372
375
|
string;
|
|
373
|
-
/** Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc. */
|
|
376
|
+
/** Optional. Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc. */
|
|
374
377
|
resourceKind?:
|
|
375
378
|
string;
|
|
376
379
|
}
|
|
@@ -475,20 +478,20 @@ declare namespace gapi.client {
|
|
|
475
478
|
string;
|
|
476
479
|
}
|
|
477
480
|
interface NamespacedName {
|
|
478
|
-
/** The name of the Kubernetes resource. */
|
|
481
|
+
/** Optional. The name of the Kubernetes resource. */
|
|
479
482
|
name?:
|
|
480
483
|
string;
|
|
481
|
-
/** The Namespace of the Kubernetes resource. */
|
|
484
|
+
/** Optional. The Namespace of the Kubernetes resource. */
|
|
482
485
|
namespace?:
|
|
483
486
|
string;
|
|
484
487
|
}
|
|
485
488
|
interface NamespacedNames {
|
|
486
|
-
/** A list of namespaced Kubernetes resources. */
|
|
489
|
+
/** Optional. A list of namespaced Kubernetes resources. */
|
|
487
490
|
namespacedNames?:
|
|
488
491
|
NamespacedName[];
|
|
489
492
|
}
|
|
490
493
|
interface Namespaces {
|
|
491
|
-
/** A list of Kubernetes Namespaces */
|
|
494
|
+
/** Optional. A list of Kubernetes Namespaces */
|
|
492
495
|
namespaces?:
|
|
493
496
|
string[];
|
|
494
497
|
}
|
|
@@ -552,20 +555,20 @@ declare namespace gapi.client {
|
|
|
552
555
|
}
|
|
553
556
|
interface ResourceFilter {
|
|
554
557
|
/**
|
|
555
|
-
* (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed
|
|
556
|
-
* resources of all types matching previous filtering parameters will be candidates for transformation).
|
|
558
|
+
* Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed
|
|
559
|
+
* (all resources of all types matching previous filtering parameters will be candidates for transformation).
|
|
557
560
|
*/
|
|
558
561
|
groupKinds?:
|
|
559
562
|
GroupKind[];
|
|
560
563
|
/**
|
|
561
|
-
* This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a
|
|
562
|
-
* parameter (resources that are not matched with this expression will not be candidates for transformation).
|
|
564
|
+
* Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a
|
|
565
|
+
* filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
|
|
563
566
|
*/
|
|
564
567
|
jsonPath?:
|
|
565
568
|
string;
|
|
566
569
|
/**
|
|
567
|
-
* (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided,
|
|
568
|
-
* namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation). To mix cluster-scoped and
|
|
570
|
+
* Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided,
|
|
571
|
+
* no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation). To mix cluster-scoped and
|
|
569
572
|
* namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
|
|
570
573
|
*/
|
|
571
574
|
namespaces?:
|
|
@@ -639,20 +642,20 @@ declare namespace gapi.client {
|
|
|
639
642
|
allNamespaces?:
|
|
640
643
|
boolean;
|
|
641
644
|
/**
|
|
642
|
-
* Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than
|
|
645
|
+
* Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than
|
|
643
646
|
* CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
|
|
644
647
|
*/
|
|
645
648
|
clusterResourceConflictPolicy?:
|
|
646
649
|
string;
|
|
647
|
-
/** Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored. */
|
|
650
|
+
/** Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored. */
|
|
648
651
|
clusterResourceRestoreScope?:
|
|
649
652
|
ClusterResourceRestoreScope;
|
|
650
653
|
/** A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored. */
|
|
651
654
|
excludedNamespaces?:
|
|
652
655
|
Namespaces;
|
|
653
656
|
/**
|
|
654
|
-
* Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other
|
|
655
|
-
* NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
|
|
657
|
+
* Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other
|
|
658
|
+
* than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
|
|
656
659
|
*/
|
|
657
660
|
namespacedResourceRestoreMode?:
|
|
658
661
|
string;
|
|
@@ -666,18 +669,18 @@ declare namespace gapi.client {
|
|
|
666
669
|
selectedNamespaces?:
|
|
667
670
|
Namespaces;
|
|
668
671
|
/**
|
|
669
|
-
* A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this
|
|
670
|
-
* matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
|
|
672
|
+
* Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this
|
|
673
|
+
* order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
|
|
671
674
|
*/
|
|
672
675
|
substitutionRules?:
|
|
673
676
|
SubstitutionRule[];
|
|
674
677
|
/**
|
|
675
|
-
* A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this
|
|
676
|
-
* matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
|
|
678
|
+
* Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this
|
|
679
|
+
* order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
|
|
677
680
|
*/
|
|
678
681
|
transformationRules?:
|
|
679
682
|
TransformationRule[];
|
|
680
|
-
/** Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION). */
|
|
683
|
+
/** Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION). */
|
|
681
684
|
volumeDataRestorePolicy?:
|
|
682
685
|
string;
|
|
683
686
|
}
|
|
@@ -697,7 +700,7 @@ declare namespace gapi.client {
|
|
|
697
700
|
/** Output only. The timestamp when this RestorePlan resource was created. */
|
|
698
701
|
createTime?:
|
|
699
702
|
string;
|
|
700
|
-
/** User specified descriptive string for this RestorePlan. */
|
|
703
|
+
/** Optional. User specified descriptive string for this RestorePlan. */
|
|
701
704
|
description?:
|
|
702
705
|
string;
|
|
703
706
|
/**
|
|
@@ -708,7 +711,7 @@ declare namespace gapi.client {
|
|
|
708
711
|
*/
|
|
709
712
|
etag?:
|
|
710
713
|
string;
|
|
711
|
-
/** A set of custom labels supplied by user. */
|
|
714
|
+
/** Optional. A set of custom labels supplied by user. */
|
|
712
715
|
labels?:
|
|
713
716
|
{ [P in string]: string };
|
|
714
717
|
/** Output only. The full name of the RestorePlan resource. Format: `projects/*/locations/*/restorePlans/*`. */
|
|
@@ -732,36 +735,36 @@ declare namespace gapi.client {
|
|
|
732
735
|
}
|
|
733
736
|
interface RetentionPolicy {
|
|
734
737
|
/**
|
|
735
|
-
* Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will
|
|
736
|
-
* deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created
|
|
737
|
-
* successful update will inherit the new value. Default: 0 (no delete blocking)
|
|
738
|
+
* Optional. Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will
|
|
739
|
+
* NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created
|
|
740
|
+
* AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
|
|
738
741
|
*/
|
|
739
742
|
backupDeleteLockDays?:
|
|
740
743
|
number;
|
|
741
744
|
/**
|
|
742
|
-
* The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan
|
|
743
|
-
* automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic
|
|
744
|
-
* Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days
|
|
745
|
-
* >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
|
|
745
|
+
* Optional. The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan
|
|
746
|
+
* will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic
|
|
747
|
+
* deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days
|
|
748
|
+
* must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
|
|
746
749
|
*/
|
|
747
750
|
backupRetainDays?:
|
|
748
751
|
number;
|
|
749
752
|
/**
|
|
750
|
-
* This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the `locked` field
|
|
751
|
-
* Default: False
|
|
753
|
+
* Optional. This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the `locked` field
|
|
754
|
+
* itself. Default: False
|
|
752
755
|
*/
|
|
753
756
|
locked?:
|
|
754
757
|
boolean;
|
|
755
758
|
}
|
|
756
759
|
interface Schedule {
|
|
757
760
|
/**
|
|
758
|
-
* A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the
|
|
759
|
-
* field since at most one schedule can be defined for a BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup
|
|
760
|
-
* will occur.
|
|
761
|
+
* Optional. A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the
|
|
762
|
+
* rpo_config field since at most one schedule can be defined for a BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup
|
|
763
|
+
* creation will occur.
|
|
761
764
|
*/
|
|
762
765
|
cronSchedule?:
|
|
763
766
|
string;
|
|
764
|
-
/** This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False */
|
|
767
|
+
/** Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False */
|
|
765
768
|
paused?:
|
|
766
769
|
boolean;
|
|
767
770
|
}
|
|
@@ -781,13 +784,13 @@ declare namespace gapi.client {
|
|
|
781
784
|
}
|
|
782
785
|
interface SubstitutionRule {
|
|
783
786
|
/**
|
|
784
|
-
* This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field
|
|
785
|
-
* it to the empty string ("").
|
|
787
|
+
* Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field
|
|
788
|
+
* unspecified, or set it to the empty string ("").
|
|
786
789
|
*/
|
|
787
790
|
newValue?:
|
|
788
791
|
string;
|
|
789
792
|
/**
|
|
790
|
-
* (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path
|
|
793
|
+
* Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path
|
|
791
794
|
* expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT
|
|
792
795
|
* specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will
|
|
793
796
|
* only match empty fields.
|
|
@@ -795,8 +798,8 @@ declare namespace gapi.client {
|
|
|
795
798
|
originalValuePattern?:
|
|
796
799
|
string;
|
|
797
800
|
/**
|
|
798
|
-
* (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed
|
|
799
|
-
* resources of all types matching previous filtering parameters will be candidates for substitution).
|
|
801
|
+
* Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed
|
|
802
|
+
* (all resources of all types matching previous filtering parameters will be candidates for substitution).
|
|
800
803
|
*/
|
|
801
804
|
targetGroupKinds?:
|
|
802
805
|
GroupKind[];
|
|
@@ -808,9 +811,9 @@ declare namespace gapi.client {
|
|
|
808
811
|
targetJsonPath?:
|
|
809
812
|
string;
|
|
810
813
|
/**
|
|
811
|
-
* (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no
|
|
812
|
-
* filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and
|
|
813
|
-
* resources in the same rule, use an empty string ("") as one of the target namespaces.
|
|
814
|
+
* Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no
|
|
815
|
+
* namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and
|
|
816
|
+
* namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
|
|
814
817
|
*/
|
|
815
818
|
targetNamespaces?:
|
|
816
819
|
string[];
|
|
@@ -829,7 +832,7 @@ declare namespace gapi.client {
|
|
|
829
832
|
string[];
|
|
830
833
|
}
|
|
831
834
|
interface TransformationRule {
|
|
832
|
-
/** The description is a user specified string description of the transformation rule. */
|
|
835
|
+
/** Optional. The description is a user specified string description of the transformation rule. */
|
|
833
836
|
description?:
|
|
834
837
|
string;
|
|
835
838
|
/**
|
|
@@ -839,23 +842,23 @@ declare namespace gapi.client {
|
|
|
839
842
|
fieldActions?:
|
|
840
843
|
TransformationRuleAction[];
|
|
841
844
|
/**
|
|
842
|
-
* This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions,
|
|
843
|
-
* will ensure that only specific resources are affected by transformation rule actions.
|
|
845
|
+
* Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions,
|
|
846
|
+
* and this will ensure that only specific resources are affected by transformation rule actions.
|
|
844
847
|
*/
|
|
845
848
|
resourceFilter?:
|
|
846
849
|
ResourceFilter;
|
|
847
850
|
}
|
|
848
851
|
interface TransformationRuleAction {
|
|
849
|
-
/** A string containing a JSON Pointer value that references the location in the target document to move the value from. */
|
|
852
|
+
/** Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from. */
|
|
850
853
|
fromPath?:
|
|
851
854
|
string;
|
|
852
855
|
/** Required. op specifies the operation to perform. */
|
|
853
856
|
op?:
|
|
854
857
|
string;
|
|
855
|
-
/** A string containing a JSON-Pointer value that references a location within the target document where the operation is performed. */
|
|
858
|
+
/** Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed. */
|
|
856
859
|
path?:
|
|
857
860
|
string;
|
|
858
|
-
/** A string that specifies the desired value in string format to use for transformation. */
|
|
861
|
+
/** Optional. A string that specifies the desired value in string format to use for transformation. */
|
|
859
862
|
value?:
|
|
860
863
|
string;
|
|
861
864
|
}
|
|
@@ -1055,7 +1058,7 @@ declare namespace gapi.client {
|
|
|
1055
1058
|
/** Selector specifying which fields to include in a partial response. */
|
|
1056
1059
|
fields?:
|
|
1057
1060
|
string;
|
|
1058
|
-
/** Field match expression used to filter the results. */
|
|
1061
|
+
/** Optional. Field match expression used to filter the results. */
|
|
1059
1062
|
filter?:
|
|
1060
1063
|
string;
|
|
1061
1064
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -1064,18 +1067,18 @@ declare namespace gapi.client {
|
|
|
1064
1067
|
/** OAuth 2.0 token for the current user. */
|
|
1065
1068
|
oauth_token?:
|
|
1066
1069
|
string;
|
|
1067
|
-
/** Field by which to sort the results. */
|
|
1070
|
+
/** Optional. Field by which to sort the results. */
|
|
1068
1071
|
orderBy?:
|
|
1069
1072
|
string;
|
|
1070
1073
|
/**
|
|
1071
|
-
* The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may
|
|
1072
|
-
* and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
1074
|
+
* Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a
|
|
1075
|
+
* partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
1073
1076
|
*/
|
|
1074
1077
|
pageSize?:
|
|
1075
1078
|
number;
|
|
1076
1079
|
/**
|
|
1077
|
-
* The value of next_page_token received from a previous `ListVolumeBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
1078
|
-
* all other parameters provided to `ListVolumeBackups` must match the call that provided the page token.
|
|
1080
|
+
* Optional. The value of next_page_token received from a previous `ListVolumeBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
1081
|
+
* paginating, all other parameters provided to `ListVolumeBackups` must match the call that provided the page token.
|
|
1079
1082
|
*/
|
|
1080
1083
|
pageToken?:
|
|
1081
1084
|
string;
|
|
@@ -1198,8 +1201,8 @@ declare namespace gapi.client {
|
|
|
1198
1201
|
alt?:
|
|
1199
1202
|
string;
|
|
1200
1203
|
/**
|
|
1201
|
-
* The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters,
|
|
1202
|
-
* and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
|
|
1204
|
+
* Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters,
|
|
1205
|
+
* numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
|
|
1203
1206
|
*/
|
|
1204
1207
|
backupId?:
|
|
1205
1208
|
string;
|
|
@@ -1245,8 +1248,8 @@ declare namespace gapi.client {
|
|
|
1245
1248
|
alt?:
|
|
1246
1249
|
string;
|
|
1247
1250
|
/**
|
|
1248
|
-
* The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters,
|
|
1249
|
-
* and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
|
|
1251
|
+
* Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters,
|
|
1252
|
+
* numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
|
|
1250
1253
|
*/
|
|
1251
1254
|
backupId?:
|
|
1252
1255
|
string;
|
|
@@ -1293,13 +1296,13 @@ declare namespace gapi.client {
|
|
|
1293
1296
|
/** JSONP */
|
|
1294
1297
|
callback?:
|
|
1295
1298
|
string;
|
|
1296
|
-
/** If provided, this value must match the current value of the target Backup's etag field or the request is rejected. */
|
|
1299
|
+
/** Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected. */
|
|
1297
1300
|
etag?:
|
|
1298
1301
|
string;
|
|
1299
1302
|
/** Selector specifying which fields to include in a partial response. */
|
|
1300
1303
|
fields?:
|
|
1301
1304
|
string;
|
|
1302
|
-
/** If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups. */
|
|
1305
|
+
/** Optional. If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups. */
|
|
1303
1306
|
force?:
|
|
1304
1307
|
boolean;
|
|
1305
1308
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -1431,7 +1434,7 @@ declare namespace gapi.client {
|
|
|
1431
1434
|
/** Selector specifying which fields to include in a partial response. */
|
|
1432
1435
|
fields?:
|
|
1433
1436
|
string;
|
|
1434
|
-
/** Field match expression used to filter the results. */
|
|
1437
|
+
/** Optional. Field match expression used to filter the results. */
|
|
1435
1438
|
filter?:
|
|
1436
1439
|
string;
|
|
1437
1440
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -1440,18 +1443,18 @@ declare namespace gapi.client {
|
|
|
1440
1443
|
/** OAuth 2.0 token for the current user. */
|
|
1441
1444
|
oauth_token?:
|
|
1442
1445
|
string;
|
|
1443
|
-
/** Field by which to sort the results. */
|
|
1446
|
+
/** Optional. Field by which to sort the results. */
|
|
1444
1447
|
orderBy?:
|
|
1445
1448
|
string;
|
|
1446
1449
|
/**
|
|
1447
|
-
* The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may
|
|
1448
|
-
* and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
1450
|
+
* Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a
|
|
1451
|
+
* partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
1449
1452
|
*/
|
|
1450
1453
|
pageSize?:
|
|
1451
1454
|
number;
|
|
1452
1455
|
/**
|
|
1453
|
-
* The value of next_page_token received from a previous `ListBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
1454
|
-
* other parameters provided to `ListBackups` must match the call that provided the page token.
|
|
1456
|
+
* Optional. The value of next_page_token received from a previous `ListBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
1457
|
+
* paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.
|
|
1455
1458
|
*/
|
|
1456
1459
|
pageToken?:
|
|
1457
1460
|
string;
|
|
@@ -1504,9 +1507,9 @@ declare namespace gapi.client {
|
|
|
1504
1507
|
quotaUser?:
|
|
1505
1508
|
string;
|
|
1506
1509
|
/**
|
|
1507
|
-
* This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the
|
|
1508
|
-
* with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the
|
|
1509
|
-
* Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
|
|
1510
|
+
* Optional. This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the
|
|
1511
|
+
* `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the
|
|
1512
|
+
* target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
|
|
1510
1513
|
*/
|
|
1511
1514
|
updateMask?:
|
|
1512
1515
|
string;
|
|
@@ -1552,9 +1555,9 @@ declare namespace gapi.client {
|
|
|
1552
1555
|
quotaUser?:
|
|
1553
1556
|
string;
|
|
1554
1557
|
/**
|
|
1555
|
-
* This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the
|
|
1556
|
-
* with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the
|
|
1557
|
-
* Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
|
|
1558
|
+
* Optional. This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the
|
|
1559
|
+
* `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the
|
|
1560
|
+
* target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
|
|
1558
1561
|
*/
|
|
1559
1562
|
updateMask?:
|
|
1560
1563
|
string;
|
|
@@ -1766,7 +1769,7 @@ declare namespace gapi.client {
|
|
|
1766
1769
|
/** JSONP */
|
|
1767
1770
|
callback?:
|
|
1768
1771
|
string;
|
|
1769
|
-
/** If provided, this value must match the current value of the target BackupPlan's etag field or the request is rejected. */
|
|
1772
|
+
/** Optional. If provided, this value must match the current value of the target BackupPlan's etag field or the request is rejected. */
|
|
1770
1773
|
etag?:
|
|
1771
1774
|
string;
|
|
1772
1775
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1901,7 +1904,7 @@ declare namespace gapi.client {
|
|
|
1901
1904
|
/** Selector specifying which fields to include in a partial response. */
|
|
1902
1905
|
fields?:
|
|
1903
1906
|
string;
|
|
1904
|
-
/** Field match expression used to filter the results. */
|
|
1907
|
+
/** Optional. Field match expression used to filter the results. */
|
|
1905
1908
|
filter?:
|
|
1906
1909
|
string;
|
|
1907
1910
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -1910,18 +1913,18 @@ declare namespace gapi.client {
|
|
|
1910
1913
|
/** OAuth 2.0 token for the current user. */
|
|
1911
1914
|
oauth_token?:
|
|
1912
1915
|
string;
|
|
1913
|
-
/** Field by which to sort the results. */
|
|
1916
|
+
/** Optional. Field by which to sort the results. */
|
|
1914
1917
|
orderBy?:
|
|
1915
1918
|
string;
|
|
1916
1919
|
/**
|
|
1917
|
-
* The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may
|
|
1918
|
-
* and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
1920
|
+
* Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a
|
|
1921
|
+
* partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
1919
1922
|
*/
|
|
1920
1923
|
pageSize?:
|
|
1921
1924
|
number;
|
|
1922
1925
|
/**
|
|
1923
|
-
* The value of next_page_token received from a previous `ListBackupPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
1924
|
-
* other parameters provided to `ListBackupPlans` must match the call that provided the page token.
|
|
1926
|
+
* Optional. The value of next_page_token received from a previous `ListBackupPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
1927
|
+
* paginating, all other parameters provided to `ListBackupPlans` must match the call that provided the page token.
|
|
1925
1928
|
*/
|
|
1926
1929
|
pageToken?:
|
|
1927
1930
|
string;
|
|
@@ -1974,10 +1977,10 @@ declare namespace gapi.client {
|
|
|
1974
1977
|
quotaUser?:
|
|
1975
1978
|
string;
|
|
1976
1979
|
/**
|
|
1977
|
-
* This is used to specify the fields to be overwritten in the BackupPlan targeted for update. The values for each of these updated fields will be taken from the
|
|
1978
|
-
* provided with this request. Field names are relative to the root of the resource (e.g., `description`, `backup_config.include_volume_data`, etc.) If no
|
|
1979
|
-
* provided, all fields in `backup_plan` will be written to the target BackupPlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored
|
|
1980
|
-
* to update the target BackupPlan.
|
|
1980
|
+
* Optional. This is used to specify the fields to be overwritten in the BackupPlan targeted for update. The values for each of these updated fields will be taken from the
|
|
1981
|
+
* `backup_plan` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `backup_config.include_volume_data`, etc.) If no
|
|
1982
|
+
* `update_mask` is provided, all fields in `backup_plan` will be written to the target BackupPlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored
|
|
1983
|
+
* and are not used to update the target BackupPlan.
|
|
1981
1984
|
*/
|
|
1982
1985
|
updateMask?:
|
|
1983
1986
|
string;
|
|
@@ -2023,10 +2026,10 @@ declare namespace gapi.client {
|
|
|
2023
2026
|
quotaUser?:
|
|
2024
2027
|
string;
|
|
2025
2028
|
/**
|
|
2026
|
-
* This is used to specify the fields to be overwritten in the BackupPlan targeted for update. The values for each of these updated fields will be taken from the
|
|
2027
|
-
* provided with this request. Field names are relative to the root of the resource (e.g., `description`, `backup_config.include_volume_data`, etc.) If no
|
|
2028
|
-
* provided, all fields in `backup_plan` will be written to the target BackupPlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored
|
|
2029
|
-
* to update the target BackupPlan.
|
|
2029
|
+
* Optional. This is used to specify the fields to be overwritten in the BackupPlan targeted for update. The values for each of these updated fields will be taken from the
|
|
2030
|
+
* `backup_plan` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `backup_config.include_volume_data`, etc.) If no
|
|
2031
|
+
* `update_mask` is provided, all fields in `backup_plan` will be written to the target BackupPlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored
|
|
2032
|
+
* and are not used to update the target BackupPlan.
|
|
2030
2033
|
*/
|
|
2031
2034
|
updateMask?:
|
|
2032
2035
|
string;
|
|
@@ -2413,7 +2416,7 @@ declare namespace gapi.client {
|
|
|
2413
2416
|
/** Selector specifying which fields to include in a partial response. */
|
|
2414
2417
|
fields?:
|
|
2415
2418
|
string;
|
|
2416
|
-
/** Field match expression used to filter the results. */
|
|
2419
|
+
/** Optional. Field match expression used to filter the results. */
|
|
2417
2420
|
filter?:
|
|
2418
2421
|
string;
|
|
2419
2422
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -2422,18 +2425,18 @@ declare namespace gapi.client {
|
|
|
2422
2425
|
/** OAuth 2.0 token for the current user. */
|
|
2423
2426
|
oauth_token?:
|
|
2424
2427
|
string;
|
|
2425
|
-
/** Field by which to sort the results. */
|
|
2428
|
+
/** Optional. Field by which to sort the results. */
|
|
2426
2429
|
orderBy?:
|
|
2427
2430
|
string;
|
|
2428
2431
|
/**
|
|
2429
|
-
* The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may
|
|
2430
|
-
* and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
2432
|
+
* Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a
|
|
2433
|
+
* partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
2431
2434
|
*/
|
|
2432
2435
|
pageSize?:
|
|
2433
2436
|
number;
|
|
2434
2437
|
/**
|
|
2435
|
-
* The value of next_page_token received from a previous `ListVolumeRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
2436
|
-
* all other parameters provided to `ListVolumeRestores` must match the call that provided the page token.
|
|
2438
|
+
* Optional. The value of next_page_token received from a previous `ListVolumeRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
2439
|
+
* paginating, all other parameters provided to `ListVolumeRestores` must match the call that provided the page token.
|
|
2437
2440
|
*/
|
|
2438
2441
|
pageToken?:
|
|
2439
2442
|
string;
|
|
@@ -2651,13 +2654,13 @@ declare namespace gapi.client {
|
|
|
2651
2654
|
/** JSONP */
|
|
2652
2655
|
callback?:
|
|
2653
2656
|
string;
|
|
2654
|
-
/** If provided, this value must match the current value of the target Restore's etag field or the request is rejected. */
|
|
2657
|
+
/** Optional. If provided, this value must match the current value of the target Restore's etag field or the request is rejected. */
|
|
2655
2658
|
etag?:
|
|
2656
2659
|
string;
|
|
2657
2660
|
/** Selector specifying which fields to include in a partial response. */
|
|
2658
2661
|
fields?:
|
|
2659
2662
|
string;
|
|
2660
|
-
/** If set to true, any VolumeRestores below this restore will also be deleted. Otherwise, the request will only succeed if the restore has no VolumeRestores. */
|
|
2663
|
+
/** Optional. If set to true, any VolumeRestores below this restore will also be deleted. Otherwise, the request will only succeed if the restore has no VolumeRestores. */
|
|
2661
2664
|
force?:
|
|
2662
2665
|
boolean;
|
|
2663
2666
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -2789,7 +2792,7 @@ declare namespace gapi.client {
|
|
|
2789
2792
|
/** Selector specifying which fields to include in a partial response. */
|
|
2790
2793
|
fields?:
|
|
2791
2794
|
string;
|
|
2792
|
-
/** Field match expression used to filter the results. */
|
|
2795
|
+
/** Optional. Field match expression used to filter the results. */
|
|
2793
2796
|
filter?:
|
|
2794
2797
|
string;
|
|
2795
2798
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -2798,18 +2801,18 @@ declare namespace gapi.client {
|
|
|
2798
2801
|
/** OAuth 2.0 token for the current user. */
|
|
2799
2802
|
oauth_token?:
|
|
2800
2803
|
string;
|
|
2801
|
-
/** Field by which to sort the results. */
|
|
2804
|
+
/** Optional. Field by which to sort the results. */
|
|
2802
2805
|
orderBy?:
|
|
2803
2806
|
string;
|
|
2804
2807
|
/**
|
|
2805
|
-
* The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may
|
|
2806
|
-
* and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
2808
|
+
* Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a
|
|
2809
|
+
* partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
2807
2810
|
*/
|
|
2808
2811
|
pageSize?:
|
|
2809
2812
|
number;
|
|
2810
2813
|
/**
|
|
2811
|
-
* The value of next_page_token received from a previous `ListRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
2812
|
-
* other parameters provided to `ListRestores` must match the call that provided the page token.
|
|
2814
|
+
* Optional. The value of next_page_token received from a previous `ListRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
2815
|
+
* paginating, all other parameters provided to `ListRestores` must match the call that provided the page token.
|
|
2813
2816
|
*/
|
|
2814
2817
|
pageToken?:
|
|
2815
2818
|
string;
|
|
@@ -2862,9 +2865,9 @@ declare namespace gapi.client {
|
|
|
2862
2865
|
quotaUser?:
|
|
2863
2866
|
string;
|
|
2864
2867
|
/**
|
|
2865
|
-
* This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore`
|
|
2866
|
-
* with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore
|
|
2867
|
-
* Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
|
|
2868
|
+
* Optional. This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore`
|
|
2869
|
+
* provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore
|
|
2870
|
+
* resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
|
|
2868
2871
|
*/
|
|
2869
2872
|
updateMask?:
|
|
2870
2873
|
string;
|
|
@@ -2910,9 +2913,9 @@ declare namespace gapi.client {
|
|
|
2910
2913
|
quotaUser?:
|
|
2911
2914
|
string;
|
|
2912
2915
|
/**
|
|
2913
|
-
* This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore`
|
|
2914
|
-
* with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore
|
|
2915
|
-
* Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
|
|
2916
|
+
* Optional. This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore`
|
|
2917
|
+
* provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore
|
|
2918
|
+
* resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
|
|
2916
2919
|
*/
|
|
2917
2920
|
updateMask?:
|
|
2918
2921
|
string;
|
|
@@ -3124,13 +3127,13 @@ declare namespace gapi.client {
|
|
|
3124
3127
|
/** JSONP */
|
|
3125
3128
|
callback?:
|
|
3126
3129
|
string;
|
|
3127
|
-
/** If provided, this value must match the current value of the target RestorePlan's etag field or the request is rejected. */
|
|
3130
|
+
/** Optional. If provided, this value must match the current value of the target RestorePlan's etag field or the request is rejected. */
|
|
3128
3131
|
etag?:
|
|
3129
3132
|
string;
|
|
3130
3133
|
/** Selector specifying which fields to include in a partial response. */
|
|
3131
3134
|
fields?:
|
|
3132
3135
|
string;
|
|
3133
|
-
/** If set to true, any Restores below this RestorePlan will also be deleted. Otherwise, the request will only succeed if the RestorePlan has no Restores. */
|
|
3136
|
+
/** Optional. If set to true, any Restores below this RestorePlan will also be deleted. Otherwise, the request will only succeed if the RestorePlan has no Restores. */
|
|
3134
3137
|
force?:
|
|
3135
3138
|
boolean;
|
|
3136
3139
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -3262,7 +3265,7 @@ declare namespace gapi.client {
|
|
|
3262
3265
|
/** Selector specifying which fields to include in a partial response. */
|
|
3263
3266
|
fields?:
|
|
3264
3267
|
string;
|
|
3265
|
-
/** Field match expression used to filter the results. */
|
|
3268
|
+
/** Optional. Field match expression used to filter the results. */
|
|
3266
3269
|
filter?:
|
|
3267
3270
|
string;
|
|
3268
3271
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
@@ -3271,18 +3274,18 @@ declare namespace gapi.client {
|
|
|
3271
3274
|
/** OAuth 2.0 token for the current user. */
|
|
3272
3275
|
oauth_token?:
|
|
3273
3276
|
string;
|
|
3274
|
-
/** Field by which to sort the results. */
|
|
3277
|
+
/** Optional. Field by which to sort the results. */
|
|
3275
3278
|
orderBy?:
|
|
3276
3279
|
string;
|
|
3277
3280
|
/**
|
|
3278
|
-
* The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may
|
|
3279
|
-
* and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
3281
|
+
* Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a
|
|
3282
|
+
* partial list and a caller should only rely on the response's next_page_token to determine if there are more instances left to be queried.
|
|
3280
3283
|
*/
|
|
3281
3284
|
pageSize?:
|
|
3282
3285
|
number;
|
|
3283
3286
|
/**
|
|
3284
|
-
* The value of next_page_token received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
3285
|
-
* other parameters provided to `ListRestorePlans` must match the call that provided the page token.
|
|
3287
|
+
* Optional. The value of next_page_token received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When
|
|
3288
|
+
* paginating, all other parameters provided to `ListRestorePlans` must match the call that provided the page token.
|
|
3286
3289
|
*/
|
|
3287
3290
|
pageToken?:
|
|
3288
3291
|
string;
|
|
@@ -3335,9 +3338,9 @@ declare namespace gapi.client {
|
|
|
3335
3338
|
quotaUser?:
|
|
3336
3339
|
string;
|
|
3337
3340
|
/**
|
|
3338
|
-
* This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the
|
|
3339
|
-
* provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore_plan` will be written to
|
|
3340
|
-
* RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored and are not used to update the target RestorePlan.
|
|
3341
|
+
* Optional. This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the
|
|
3342
|
+
* `restore_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore_plan` will be written to
|
|
3343
|
+
* the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored and are not used to update the target RestorePlan.
|
|
3341
3344
|
*/
|
|
3342
3345
|
updateMask?:
|
|
3343
3346
|
string;
|
|
@@ -3383,9 +3386,9 @@ declare namespace gapi.client {
|
|
|
3383
3386
|
quotaUser?:
|
|
3384
3387
|
string;
|
|
3385
3388
|
/**
|
|
3386
|
-
* This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the
|
|
3387
|
-
* provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore_plan` will be written to
|
|
3388
|
-
* RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored and are not used to update the target RestorePlan.
|
|
3389
|
+
* Optional. This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the
|
|
3390
|
+
* `restore_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore_plan` will be written to
|
|
3391
|
+
* the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored and are not used to update the target RestorePlan.
|
|
3389
3392
|
*/
|
|
3390
3393
|
updateMask?:
|
|
3391
3394
|
string;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230719
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|