Skip to content

Commit c1574d8

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
feat(storagetransfer): update the API
#### storagetransfer:v1 The following keys were added: - resources.transferOperations.methods.list.parameters.returnPartialSuccess.description - resources.transferOperations.methods.list.parameters.returnPartialSuccess.location - resources.transferOperations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type The following keys were changed: - schemas.ErrorLogEntry.description
1 parent 0c1d383 commit c1574d8

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

discovery/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"

src/apis/storagetransfer/v1.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export namespace storagetransfer_v1 {
297297
*/
298298
export interface Schema$Empty {}
299299
/**
300-
* An entry describing an error that has occurred.
300+
* LINT.IfChange An entry describing an error that has occurred.
301301
*/
302302
export interface Schema$ErrorLogEntry {
303303
/**
@@ -429,6 +429,10 @@ export namespace storagetransfer_v1 {
429429
* A list of operations that matches the specified filter in the request.
430430
*/
431431
operations?: Schema$Operation[];
432+
/**
433+
* 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.
434+
*/
435+
unreachable?: string[] | null;
432436
}
433437
/**
434438
* Response from ListTransferJobs.
@@ -3281,13 +3285,16 @@ export namespace storagetransfer_v1 {
32813285
* pageSize: 'placeholder-value',
32823286
* // The list page token.
32833287
* pageToken: 'placeholder-value',
3288+
* // 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.
3289+
* returnPartialSuccess: 'placeholder-value',
32843290
* });
32853291
* console.log(res.data);
32863292
*
32873293
* // Example response
32883294
* // {
32893295
* // "nextPageToken": "my_nextPageToken",
3290-
* // "operations": []
3296+
* // "operations": [],
3297+
* // "unreachable": []
32913298
* // }
32923299
* }
32933300
*
@@ -3702,6 +3709,10 @@ export namespace storagetransfer_v1 {
37023709
* The list page token.
37033710
*/
37043711
pageToken?: string;
3712+
/**
3713+
* 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.
3714+
*/
3715+
returnPartialSuccess?: boolean;
37053716
}
37063717
export interface Params$Resource$Transferoperations$Pause
37073718
extends StandardParameters {

0 commit comments

Comments
 (0)