Skip to content

Commit 3e3c179

Browse files
feat(vpcaccess): update the API
#### vpcaccess:v1beta1 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 3529ed8 commit 3e3c179

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

discovery/vpcaccess-v1beta1.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
],
120120
"parameters": {
121121
"extraLocationTypes": {
122-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
122+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
123123
"location": "query",
124124
"repeated": true,
125125
"type": "string"
@@ -373,6 +373,11 @@
373373
"description": "The standard list page token.",
374374
"location": "query",
375375
"type": "string"
376+
},
377+
"returnPartialSuccess": {
378+
"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.",
379+
"location": "query",
380+
"type": "boolean"
376381
}
377382
},
378383
"path": "v1beta1/{+name}/operations",
@@ -390,7 +395,7 @@
390395
}
391396
}
392397
},
393-
"revision": "20250916",
398+
"revision": "20251021",
394399
"rootUrl": "https://vpcaccess.googleapis.com/",
395400
"schemas": {
396401
"Connector": {
@@ -533,6 +538,13 @@
533538
"$ref": "Operation"
534539
},
535540
"type": "array"
541+
},
542+
"unreachable": {
543+
"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.",
544+
"items": {
545+
"type": "string"
546+
},
547+
"type": "array"
536548
}
537549
},
538550
"type": "object"

src/apis/vpcaccess/v1beta1.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ export namespace vpcaccess_v1beta1 {
219219
* A list of operations that matches the specified filter in the request.
220220
*/
221221
operations?: Schema$Operation[];
222+
/**
223+
* 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.
224+
*/
225+
unreachable?: string[] | null;
222226
}
223227
/**
224228
* A resource that represents a Google Cloud location.
@@ -418,7 +422,7 @@ export namespace vpcaccess_v1beta1 {
418422
*
419423
* // Do the magic
420424
* const res = await vpcaccess.projects.locations.list({
421-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
425+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
422426
* extraLocationTypes: 'placeholder-value',
423427
* // 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).
424428
* filter: 'placeholder-value',
@@ -539,7 +543,7 @@ export namespace vpcaccess_v1beta1 {
539543
export interface Params$Resource$Projects$Locations$List
540544
extends StandardParameters {
541545
/**
542-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
546+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
543547
*/
544548
extraLocationTypes?: string[];
545549
/**
@@ -1563,13 +1567,16 @@ export namespace vpcaccess_v1beta1 {
15631567
* pageSize: 'placeholder-value',
15641568
* // The standard list page token.
15651569
* pageToken: 'placeholder-value',
1570+
* // 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.
1571+
* returnPartialSuccess: 'placeholder-value',
15661572
* });
15671573
* console.log(res.data);
15681574
*
15691575
* // Example response
15701576
* // {
15711577
* // "nextPageToken": "my_nextPageToken",
1572-
* // "operations": []
1578+
* // "operations": [],
1579+
* // "unreachable": []
15731580
* // }
15741581
* }
15751582
*
@@ -1696,5 +1703,9 @@ export namespace vpcaccess_v1beta1 {
16961703
* The standard list page token.
16971704
*/
16981705
pageToken?: string;
1706+
/**
1707+
* 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.
1708+
*/
1709+
returnPartialSuccess?: boolean;
16991710
}
17001711
}

0 commit comments

Comments
 (0)