Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 893f066

Browse files
committedFeb 18, 2025
feat(gkebackup): update the api
#### gkebackup:v1 The following keys were added: - resources.projects.resources.locations.resources.backupPlans.resources.backups.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - schemas.ListBackupsResponse.properties.unreachable (Total Keys: 2)
1 parent 0880476 commit 893f066

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed
 

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2>Instance Methods</h2>
9898
<code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
9999
<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
100100
<p class="toc_element">
101-
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101+
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
102102
<p class="firstline">Lists the Backups for a given BackupPlan.</p>
103103
<p class="toc_element">
104104
<code><a href="#list_next">list_next()</a></code></p>
@@ -385,7 +385,7 @@ <h3>Method Details</h3>
385385
</div>
386386

387387
<div class="method">
388-
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
388+
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
389389
<pre>Lists the Backups for a given BackupPlan.
390390

391391
Args:
@@ -394,6 +394,7 @@ <h3>Method Details</h3>
394394
orderBy: string, Optional. Field by which to sort the results.
395395
pageSize: integer, 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 partial list and a caller should only rely on the response&#x27;s next_page_token to determine if there are more instances left to be queried.
396396
pageToken: string, 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 paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.
397+
returnPartialSuccess: boolean, Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field will be populated.
397398
x__xgafv: string, V1 error format.
398399
Allowed values
399400
1 - v1 error format
@@ -459,6 +460,9 @@ <h3>Method Details</h3>
459460
},
460461
],
461462
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token which may be sent as page_token in a subsequent `ListBackups` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
463+
&quot;unreachable&quot;: [ # Locations that could not be reached.
464+
&quot;A String&quot;,
465+
],
462466
}</pre>
463467
</div>
464468

‎googleapiclient/discovery_cache/documents/gkebackup.v1.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,11 @@
623623
"pattern": "^projects/[^/]+/locations/[^/]+/backupPlans/[^/]+$",
624624
"required": true,
625625
"type": "string"
626+
},
627+
"returnPartialSuccess": {
628+
"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field will be populated.",
629+
"location": "query",
630+
"type": "boolean"
626631
}
627632
},
628633
"path": "v1/{+parent}/backups",
@@ -1713,7 +1718,7 @@
17131718
}
17141719
}
17151720
},
1716-
"revision": "20250122",
1721+
"revision": "20250205",
17171722
"rootUrl": "https://gkebackup.googleapis.com/",
17181723
"schemas": {
17191724
"AuditConfig": {
@@ -2479,6 +2484,13 @@
24792484
"nextPageToken": {
24802485
"description": "A token which may be sent as page_token in a subsequent `ListBackups` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.",
24812486
"type": "string"
2487+
},
2488+
"unreachable": {
2489+
"description": "Locations that could not be reached.",
2490+
"items": {
2491+
"type": "string"
2492+
},
2493+
"type": "array"
24822494
}
24832495
},
24842496
"type": "object"

0 commit comments

Comments
 (0)
Please sign in to comment.