Skip to content

Commit d4befc7

Browse files
feat(vault): update the API
#### vault:v1 The following keys were added: - resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type
1 parent c73e71c commit d4befc7

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

discovery/vault-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,11 @@
11891189
"description": "The standard list page token.",
11901190
"location": "query",
11911191
"type": "string"
1192+
},
1193+
"returnPartialSuccess": {
1194+
"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.",
1195+
"location": "query",
1196+
"type": "boolean"
11921197
}
11931198
},
11941199
"path": "v1/{+name}",
@@ -1203,7 +1208,7 @@
12031208
}
12041209
}
12051210
},
1206-
"revision": "20250616",
1211+
"revision": "20251015",
12071212
"rootUrl": "https://vault.googleapis.com/",
12081213
"schemas": {
12091214
"AccountCount": {
@@ -2241,6 +2246,13 @@
22412246
"$ref": "Operation"
22422247
},
22432248
"type": "array"
2249+
},
2250+
"unreachable": {
2251+
"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.",
2252+
"items": {
2253+
"type": "string"
2254+
},
2255+
"type": "array"
22442256
}
22452257
},
22462258
"type": "object"

src/apis/vault/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,10 @@ export namespace vault_v1 {
807807
* A list of operations that matches the specified filter in the request.
808808
*/
809809
operations?: Schema$Operation[];
810+
/**
811+
* 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.
812+
*/
813+
unreachable?: string[] | null;
810814
}
811815
/**
812816
* Definition of the response for method ListSaveQuery.
@@ -6333,13 +6337,16 @@ export namespace vault_v1 {
63336337
* pageSize: 'placeholder-value',
63346338
* // The standard list page token.
63356339
* pageToken: 'placeholder-value',
6340+
* // 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.
6341+
* returnPartialSuccess: 'placeholder-value',
63366342
* });
63376343
* console.log(res.data);
63386344
*
63396345
* // Example response
63406346
* // {
63416347
* // "nextPageToken": "my_nextPageToken",
6342-
* // "operations": []
6348+
* // "operations": [],
6349+
* // "unreachable": []
63436350
* // }
63446351
* }
63456352
*
@@ -6479,5 +6486,9 @@ export namespace vault_v1 {
64796486
* The standard list page token.
64806487
*/
64816488
pageToken?: string;
6489+
/**
6490+
* 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.
6491+
*/
6492+
returnPartialSuccess?: boolean;
64826493
}
64836494
}

0 commit comments

Comments
 (0)