Skip to content

Commit aebb7ed

Browse files
feat(gkebackup): update the api
#### gkebackup:v1 The following keys were added: - schemas.Backup.properties.permissiveMode (Total Keys: 2) - schemas.BackupConfig.properties.permissiveMode.type (Total Keys: 1) - schemas.Filter (Total Keys: 6) - schemas.GroupKindDependency (Total Keys: 4) - schemas.ResourceSelector (Total Keys: 7) - schemas.Restore.properties.filter.$ref (Total Keys: 1) - schemas.Restore.properties.volumeDataRestorePolicyOverrides (Total Keys: 2) - schemas.RestoreConfig.properties.restoreOrder.$ref (Total Keys: 1) - schemas.RestoreConfig.properties.volumeDataRestorePolicyBindings (Total Keys: 2) - schemas.RestoreOrder (Total Keys: 4) - schemas.VolumeDataRestorePolicyBinding (Total Keys: 4) - schemas.VolumeDataRestorePolicyOverride (Total Keys: 4)
1 parent 95a3704 commit aebb7ed

5 files changed

+510
-3
lines changed

docs/dyn/gkebackup_v1.projects.locations.backupPlans.backups.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ <h3>Method Details</h3>
155155
},
156156
&quot;manual&quot;: True or False, # Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
157157
&quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
158+
&quot;permissiveMode&quot;: True or False, # Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan&#x27;s permissive_mode value.
158159
&quot;podCount&quot;: 42, # Output only. The total number of Kubernetes Pods contained in the Backup.
159160
&quot;resourceCount&quot;: 42, # Output only. The total number of Kubernetes resources included in the Backup.
160161
&quot;retainDays&quot;: 42, # Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value &gt;= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be &gt;= delete_lock_days and &lt;= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan&#x27;s backup_retain_days value.
@@ -289,6 +290,7 @@ <h3>Method Details</h3>
289290
},
290291
&quot;manual&quot;: True or False, # Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
291292
&quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
293+
&quot;permissiveMode&quot;: True or False, # Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan&#x27;s permissive_mode value.
292294
&quot;podCount&quot;: 42, # Output only. The total number of Kubernetes Pods contained in the Backup.
293295
&quot;resourceCount&quot;: 42, # Output only. The total number of Kubernetes resources included in the Backup.
294296
&quot;retainDays&quot;: 42, # Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value &gt;= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be &gt;= delete_lock_days and &lt;= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan&#x27;s backup_retain_days value.
@@ -430,6 +432,7 @@ <h3>Method Details</h3>
430432
},
431433
&quot;manual&quot;: True or False, # Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
432434
&quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
435+
&quot;permissiveMode&quot;: True or False, # Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan&#x27;s permissive_mode value.
433436
&quot;podCount&quot;: 42, # Output only. The total number of Kubernetes Pods contained in the Backup.
434437
&quot;resourceCount&quot;: 42, # Output only. The total number of Kubernetes resources included in the Backup.
435438
&quot;retainDays&quot;: 42, # Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value &gt;= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be &gt;= delete_lock_days and &lt;= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan&#x27;s backup_retain_days value.
@@ -510,6 +513,7 @@ <h3>Method Details</h3>
510513
},
511514
&quot;manual&quot;: True or False, # Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
512515
&quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
516+
&quot;permissiveMode&quot;: True or False, # Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan&#x27;s permissive_mode value.
513517
&quot;podCount&quot;: 42, # Output only. The total number of Kubernetes Pods contained in the Backup.
514518
&quot;resourceCount&quot;: 42, # Output only. The total number of Kubernetes resources included in the Backup.
515519
&quot;retainDays&quot;: 42, # Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value &gt;= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be &gt;= delete_lock_days and &lt;= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan&#x27;s backup_retain_days value.

docs/dyn/gkebackup_v1.projects.locations.backupPlans.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ <h3>Method Details</h3>
132132
},
133133
&quot;includeSecrets&quot;: True or False, # Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
134134
&quot;includeVolumeData&quot;: True or False, # Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
135+
&quot;permissiveMode&quot;: True or False, # Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False
135136
&quot;selectedApplications&quot;: { # A list of namespaced Kubernetes resources. # If set, include just the resources referenced by the listed ProtectedApplications.
136137
&quot;namespacedNames&quot;: [ # Optional. A list of namespaced Kubernetes resources.
137138
{ # A reference to a namespaced resource in Kubernetes.
@@ -287,6 +288,7 @@ <h3>Method Details</h3>
287288
},
288289
&quot;includeSecrets&quot;: True or False, # Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
289290
&quot;includeVolumeData&quot;: True or False, # Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
291+
&quot;permissiveMode&quot;: True or False, # Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False
290292
&quot;selectedApplications&quot;: { # A list of namespaced Kubernetes resources. # If set, include just the resources referenced by the listed ProtectedApplications.
291293
&quot;namespacedNames&quot;: [ # Optional. A list of namespaced Kubernetes resources.
292294
{ # A reference to a namespaced resource in Kubernetes.
@@ -431,6 +433,7 @@ <h3>Method Details</h3>
431433
},
432434
&quot;includeSecrets&quot;: True or False, # Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
433435
&quot;includeVolumeData&quot;: True or False, # Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
436+
&quot;permissiveMode&quot;: True or False, # Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False
434437
&quot;selectedApplications&quot;: { # A list of namespaced Kubernetes resources. # If set, include just the resources referenced by the listed ProtectedApplications.
435438
&quot;namespacedNames&quot;: [ # Optional. A list of namespaced Kubernetes resources.
436439
{ # A reference to a namespaced resource in Kubernetes.
@@ -536,6 +539,7 @@ <h3>Method Details</h3>
536539
},
537540
&quot;includeSecrets&quot;: True or False, # Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
538541
&quot;includeVolumeData&quot;: True or False, # Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
542+
&quot;permissiveMode&quot;: True or False, # Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False
539543
&quot;selectedApplications&quot;: { # A list of namespaced Kubernetes resources. # If set, include just the resources referenced by the listed ProtectedApplications.
540544
&quot;namespacedNames&quot;: [ # Optional. A list of namespaced Kubernetes resources.
541545
{ # A reference to a namespaced resource in Kubernetes.

0 commit comments

Comments
 (0)