Skip to content

Commit e160b8f

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
feat(ids): update the API
#### ids:v1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.operations.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: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description
1 parent ed97fc6 commit e160b8f

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

discovery/ids-v1.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"extraLocationTypes": {
147-
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
147+
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
148148
"location": "query",
149149
"repeated": true,
150150
"type": "string"
@@ -476,6 +476,11 @@
476476
"description": "The standard list page token.",
477477
"location": "query",
478478
"type": "string"
479+
},
480+
"returnPartialSuccess": {
481+
"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.",
482+
"location": "query",
483+
"type": "boolean"
479484
}
480485
},
481486
"path": "v1/{+name}/operations",
@@ -493,7 +498,7 @@
493498
}
494499
}
495500
},
496-
"revision": "20250320",
501+
"revision": "20251020",
497502
"rootUrl": "https://ids.googleapis.com/",
498503
"schemas": {
499504
"CancelOperationRequest": {
@@ -673,6 +678,13 @@
673678
"$ref": "Operation"
674679
},
675680
"type": "array"
681+
},
682+
"unreachable": {
683+
"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.",
684+
"items": {
685+
"type": "string"
686+
},
687+
"type": "array"
676688
}
677689
},
678690
"type": "object"

src/apis/ids/v1.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ export namespace ids_v1 {
232232
* A list of operations that matches the specified filter in the request.
233233
*/
234234
operations?: Schema$Operation[];
235+
/**
236+
* 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.
237+
*/
238+
unreachable?: string[] | null;
235239
}
236240
/**
237241
* A resource that represents a Google Cloud location.
@@ -524,7 +528,7 @@ export namespace ids_v1 {
524528
*
525529
* // Do the magic
526530
* const res = await ids.projects.locations.list({
527-
* // Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
531+
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
528532
* extraLocationTypes: 'placeholder-value',
529533
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
530534
* filter: 'placeholder-value',
@@ -652,7 +656,7 @@ export namespace ids_v1 {
652656
export interface Params$Resource$Projects$Locations$List
653657
extends StandardParameters {
654658
/**
655-
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
659+
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
656660
*/
657661
extraLocationTypes?: string[];
658662
/**
@@ -1980,13 +1984,16 @@ export namespace ids_v1 {
19801984
* pageSize: 'placeholder-value',
19811985
* // The standard list page token.
19821986
* pageToken: 'placeholder-value',
1987+
* // 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.
1988+
* returnPartialSuccess: 'placeholder-value',
19831989
* });
19841990
* console.log(res.data);
19851991
*
19861992
* // Example response
19871993
* // {
19881994
* // "nextPageToken": "my_nextPageToken",
1989-
* // "operations": []
1995+
* // "operations": [],
1996+
* // "unreachable": []
19901997
* // }
19911998
* }
19921999
*
@@ -2132,5 +2139,9 @@ export namespace ids_v1 {
21322139
* The standard list page token.
21332140
*/
21342141
pageToken?: string;
2142+
/**
2143+
* 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.
2144+
*/
2145+
returnPartialSuccess?: boolean;
21352146
}
21362147
}

0 commit comments

Comments
 (0)