Skip to content

Commit c9fbe8b

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
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 #### vpcaccess: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 09cf0b2 commit c9fbe8b

File tree

4 files changed

+56
-10
lines changed

4 files changed

+56
-10
lines changed

discovery/vpcaccess-v1.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": "v1/{+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": {
@@ -521,6 +526,13 @@
521526
"$ref": "Operation"
522527
},
523528
"type": "array"
529+
},
530+
"unreachable": {
531+
"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.",
532+
"items": {
533+
"type": "string"
534+
},
535+
"type": "array"
524536
}
525537
},
526538
"type": "object"

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/v1.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ export namespace vpcaccess_v1 {
211211
* A list of operations that matches the specified filter in the request.
212212
*/
213213
operations?: Schema$Operation[];
214+
/**
215+
* 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.
216+
*/
217+
unreachable?: string[] | null;
214218
}
215219
/**
216220
* A resource that represents a Google Cloud location.
@@ -410,7 +414,7 @@ export namespace vpcaccess_v1 {
410414
*
411415
* // Do the magic
412416
* const res = await vpcaccess.projects.locations.list({
413-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
417+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
414418
* extraLocationTypes: 'placeholder-value',
415419
* // 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).
416420
* filter: 'placeholder-value',
@@ -531,7 +535,7 @@ export namespace vpcaccess_v1 {
531535
export interface Params$Resource$Projects$Locations$List
532536
extends StandardParameters {
533537
/**
534-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
538+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
535539
*/
536540
extraLocationTypes?: string[];
537541
/**
@@ -1549,13 +1553,16 @@ export namespace vpcaccess_v1 {
15491553
* pageSize: 'placeholder-value',
15501554
* // The standard list page token.
15511555
* pageToken: 'placeholder-value',
1556+
* // 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.
1557+
* returnPartialSuccess: 'placeholder-value',
15521558
* });
15531559
* console.log(res.data);
15541560
*
15551561
* // Example response
15561562
* // {
15571563
* // "nextPageToken": "my_nextPageToken",
1558-
* // "operations": []
1564+
* // "operations": [],
1565+
* // "unreachable": []
15591566
* // }
15601567
* }
15611568
*
@@ -1682,5 +1689,9 @@ export namespace vpcaccess_v1 {
16821689
* The standard list page token.
16831690
*/
16841691
pageToken?: string;
1692+
/**
1693+
* 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.
1694+
*/
1695+
returnPartialSuccess?: boolean;
16851696
}
16861697
}

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)