Skip to content

Commit 27a2e89

Browse files
feat(storagetransfer): update the api
#### storagetransfer:v1 The following keys were added: - resources.transferOperations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - schemas.ListOperationsResponse.properties.unreachable (Total Keys: 2)
1 parent b9db052 commit 27a2e89

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

docs/dyn/storagetransfer_v1.transferOperations.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8686
<p class="toc_element">
87-
<code><a href="#list">list(name, filter, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
87+
<code><a href="#list">list(name, filter, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists transfer operations. Operations are ordered by their creation time in reverse chronological order.</p>
8989
<p class="toc_element">
9090
<code><a href="#list_next">list_next()</a></code></p>
@@ -161,14 +161,15 @@ <h3>Method Details</h3>
161161
</div>
162162

163163
<div class="method">
164-
<code class="details" id="list">list(name, filter, pageSize=None, pageToken=None, x__xgafv=None)</code>
164+
<code class="details" id="list">list(name, filter, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
165165
<pre>Lists transfer operations. Operations are ordered by their creation time in reverse chronological order.
166166

167167
Args:
168168
name: string, Required. The name of the type being listed; must be `transferOperations`. (required)
169169
filter: string, Required. A list of query parameters specified as JSON text in the form of: `{&quot;projectId&quot;:&quot;my_project_id&quot;, &quot;jobNames&quot;:[&quot;jobid1&quot;,&quot;jobid2&quot;,...], &quot;jobNamePattern&quot;: &quot;job_name_pattern&quot;, &quot;operationNames&quot;:[&quot;opid1&quot;,&quot;opid2&quot;,...], &quot;operationNamePattern&quot;: &quot;operation_name_pattern&quot;, &quot;minCreationTime&quot;: &quot;min_creation_time&quot;, &quot;maxCreationTime&quot;: &quot;max_creation_time&quot;, &quot;transferStatuses&quot;:[&quot;status1&quot;,&quot;status2&quot;,...]}` Since `jobNames`, `operationNames`, and `transferStatuses` support multiple values, they must be specified with array notation. `projectId` is the only argument that is required. If specified, `jobNamePattern` and `operationNamePattern` must match the full job or operation name respectively. &#x27;*&#x27; is a wildcard matching 0 or more characters. `minCreationTime` and `maxCreationTime` should be timestamps encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The valid values for `transferStatuses` are case-insensitive: IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED. (required)
170170
pageSize: integer, The list page size. The max allowed value is 256.
171171
pageToken: string, The list page token.
172+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
172173
x__xgafv: string, V1 error format.
173174
Allowed values
174175
1 - v1 error format
@@ -200,6 +201,9 @@ <h3>Method Details</h3>
200201
},
201202
},
202203
],
204+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
205+
&quot;A String&quot;,
206+
],
203207
}</pre>
204208
</div>
205209

googleapiclient/discovery_cache/documents/storagetransfer.v1.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,11 @@
563563
"description": "The list page token.",
564564
"location": "query",
565565
"type": "string"
566+
},
567+
"returnPartialSuccess": {
568+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
569+
"location": "query",
570+
"type": "boolean"
566571
}
567572
},
568573
"path": "v1/{+name}",
@@ -632,7 +637,7 @@
632637
}
633638
}
634639
},
635-
"revision": "20250801",
640+
"revision": "20251010",
636641
"rootUrl": "https://storagetransfer.googleapis.com/",
637642
"schemas": {
638643
"AgentPool": {
@@ -837,7 +842,7 @@
837842
"type": "object"
838843
},
839844
"ErrorLogEntry": {
840-
"description": "An entry describing an error that has occurred.",
845+
"description": "LINT.IfChange An entry describing an error that has occurred.",
841846
"id": "ErrorLogEntry",
842847
"properties": {
843848
"errorDetails": {
@@ -1040,6 +1045,13 @@
10401045
"$ref": "Operation"
10411046
},
10421047
"type": "array"
1048+
},
1049+
"unreachable": {
1050+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
1051+
"items": {
1052+
"type": "string"
1053+
},
1054+
"type": "array"
10431055
}
10441056
},
10451057
"type": "object"

0 commit comments

Comments
 (0)