Skip to content

Commit 1c0df77

Browse files
feat(gkebackup): update the api
#### gkebackup:v1 The following keys were added: - schemas.Backup.properties.selectedNamespaceLabels (Total Keys: 2) - schemas.BackupConfig.properties.selectedNamespaceLabels.$ref (Total Keys: 1) - schemas.Label (Total Keys: 4) - schemas.ResourceLabels (Total Keys: 4)
1 parent 1290767 commit 1c0df77

File tree

3 files changed

+103
-1
lines changed

3 files changed

+103
-1
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ <h3>Method Details</h3>
170170
},
171171
],
172172
},
173+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # Output only. If set, the list of labels whose constituent namespaces were included in the Backup.
174+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
175+
{ # A single Kubernetes label-value pair.
176+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
177+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
178+
},
179+
],
180+
},
173181
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # Output only. If set, the list of namespaces that were included in the Backup.
174182
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
175183
&quot;A String&quot;,
@@ -307,6 +315,14 @@ <h3>Method Details</h3>
307315
},
308316
],
309317
},
318+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # Output only. If set, the list of labels whose constituent namespaces were included in the Backup.
319+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
320+
{ # A single Kubernetes label-value pair.
321+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
322+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
323+
},
324+
],
325+
},
310326
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # Output only. If set, the list of namespaces that were included in the Backup.
311327
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
312328
&quot;A String&quot;,
@@ -452,6 +468,14 @@ <h3>Method Details</h3>
452468
},
453469
],
454470
},
471+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # Output only. If set, the list of labels whose constituent namespaces were included in the Backup.
472+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
473+
{ # A single Kubernetes label-value pair.
474+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
475+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
476+
},
477+
],
478+
},
455479
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # Output only. If set, the list of namespaces that were included in the Backup.
456480
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
457481
&quot;A String&quot;,
@@ -538,6 +562,14 @@ <h3>Method Details</h3>
538562
},
539563
],
540564
},
565+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # Output only. If set, the list of labels whose constituent namespaces were included in the Backup.
566+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
567+
{ # A single Kubernetes label-value pair.
568+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
569+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
570+
},
571+
],
572+
},
541573
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # Output only. If set, the list of namespaces that were included in the Backup.
542574
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
543575
&quot;A String&quot;,

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ <h3>Method Details</h3>
142142
},
143143
],
144144
},
145+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # If set, the list of labels whose constituent namespaces were included in the Backup.
146+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
147+
{ # A single Kubernetes label-value pair.
148+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
149+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
150+
},
151+
],
152+
},
145153
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # If set, include just the resources in the listed namespaces.
146154
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
147155
&quot;A String&quot;,
@@ -300,6 +308,14 @@ <h3>Method Details</h3>
300308
},
301309
],
302310
},
311+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # If set, the list of labels whose constituent namespaces were included in the Backup.
312+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
313+
{ # A single Kubernetes label-value pair.
314+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
315+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
316+
},
317+
],
318+
},
303319
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # If set, include just the resources in the listed namespaces.
304320
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
305321
&quot;A String&quot;,
@@ -447,6 +463,14 @@ <h3>Method Details</h3>
447463
},
448464
],
449465
},
466+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # If set, the list of labels whose constituent namespaces were included in the Backup.
467+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
468+
{ # A single Kubernetes label-value pair.
469+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
470+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
471+
},
472+
],
473+
},
450474
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # If set, include just the resources in the listed namespaces.
451475
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
452476
&quot;A String&quot;,
@@ -555,6 +579,14 @@ <h3>Method Details</h3>
555579
},
556580
],
557581
},
582+
&quot;selectedNamespaceLabels&quot;: { # A list of Kubernetes labels. # If set, the list of labels whose constituent namespaces were included in the Backup.
583+
&quot;resourceLabels&quot;: [ # Optional. A list of Kubernetes label-value pairs.
584+
{ # A single Kubernetes label-value pair.
585+
&quot;key&quot;: &quot;A String&quot;, # Optional. The key/name of the label.
586+
&quot;value&quot;: &quot;A String&quot;, # Optional. The value of the label.
587+
},
588+
],
589+
},
558590
&quot;selectedNamespaces&quot;: { # A list of Kubernetes Namespaces. # If set, include just the resources in the listed namespaces.
559591
&quot;namespaces&quot;: [ # Optional. A list of Kubernetes Namespaces.
560592
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/gkebackup.v1.json

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@
22272227
}
22282228
}
22292229
},
2230-
"revision": "20250514",
2230+
"revision": "20250528",
22312231
"rootUrl": "https://gkebackup.googleapis.com/",
22322232
"schemas": {
22332233
"AuditConfig": {
@@ -2405,6 +2405,11 @@
24052405
"description": "Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.",
24062406
"readOnly": true
24072407
},
2408+
"selectedNamespaceLabels": {
2409+
"$ref": "ResourceLabels",
2410+
"description": "Output only. If set, the list of labels whose constituent namespaces were included in the Backup.",
2411+
"readOnly": true
2412+
},
24082413
"selectedNamespaces": {
24092414
"$ref": "Namespaces",
24102415
"description": "Output only. If set, the list of namespaces that were included in the Backup.",
@@ -2543,6 +2548,10 @@
25432548
"$ref": "NamespacedNames",
25442549
"description": "If set, include just the resources referenced by the listed ProtectedApplications."
25452550
},
2551+
"selectedNamespaceLabels": {
2552+
"$ref": "ResourceLabels",
2553+
"description": "If set, the list of labels whose constituent namespaces were included in the Backup."
2554+
},
25462555
"selectedNamespaces": {
25472556
"$ref": "Namespaces",
25482557
"description": "If set, include just the resources in the listed namespaces."
@@ -3183,6 +3192,21 @@
31833192
},
31843193
"type": "object"
31853194
},
3195+
"Label": {
3196+
"description": "A single Kubernetes label-value pair.",
3197+
"id": "Label",
3198+
"properties": {
3199+
"key": {
3200+
"description": "Optional. The key/name of the label.",
3201+
"type": "string"
3202+
},
3203+
"value": {
3204+
"description": "Optional. The value of the label.",
3205+
"type": "string"
3206+
}
3207+
},
3208+
"type": "object"
3209+
},
31863210
"ListBackupChannelsResponse": {
31873211
"description": "Response message for ListBackupChannels.",
31883212
"id": "ListBackupChannelsResponse",
@@ -3614,6 +3638,20 @@
36143638
},
36153639
"type": "object"
36163640
},
3641+
"ResourceLabels": {
3642+
"description": "A list of Kubernetes labels.",
3643+
"id": "ResourceLabels",
3644+
"properties": {
3645+
"resourceLabels": {
3646+
"description": "Optional. A list of Kubernetes label-value pairs.",
3647+
"items": {
3648+
"$ref": "Label"
3649+
},
3650+
"type": "array"
3651+
}
3652+
},
3653+
"type": "object"
3654+
},
36173655
"ResourceSelector": {
36183656
"description": "Defines a selector to identify a single or a group of resources. Conditions in the selector are optional, but at least one field should be set to a non-empty value. If a condition is not specified, no restrictions will be applied on that dimension. If more than one condition is specified, a resource will be selected if and only if all conditions are met.",
36193657
"id": "ResourceSelector",

0 commit comments

Comments
 (0)