Skip to content

Commit e7b0e7f

Browse files
yoshi-automationfeywind
authored andcommitted
feat(eventarc): update the API
#### eventarc: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.GoogleLongrunningListOperationsResponse.properties.unreachable.description - schemas.GoogleLongrunningListOperationsResponse.properties.unreachable.items.type - schemas.GoogleLongrunningListOperationsResponse.properties.unreachable.type
1 parent 3e04004 commit e7b0e7f

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

discovery/eventarc-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,11 @@
18061806
"description": "The standard list page token.",
18071807
"location": "query",
18081808
"type": "string"
1809+
},
1810+
"returnPartialSuccess": {
1811+
"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.",
1812+
"location": "query",
1813+
"type": "boolean"
18091814
}
18101815
},
18111816
"path": "v1/{+name}/operations",
@@ -2466,7 +2471,7 @@
24662471
}
24672472
}
24682473
},
2469-
"revision": "20250912",
2474+
"revision": "20251007",
24702475
"rootUrl": "https://eventarc.googleapis.com/",
24712476
"schemas": {
24722477
"AuditConfig": {
@@ -3218,6 +3223,13 @@
32183223
"$ref": "GoogleLongrunningOperation"
32193224
},
32203225
"type": "array"
3226+
},
3227+
"unreachable": {
3228+
"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.",
3229+
"items": {
3230+
"type": "string"
3231+
},
3232+
"type": "array"
32213233
}
32223234
},
32233235
"type": "object"

src/apis/eventarc/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,10 @@ export namespace eventarc_v1 {
715715
* A list of operations that matches the specified filter in the request.
716716
*/
717717
operations?: Schema$GoogleLongrunningOperation[];
718+
/**
719+
* 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.
720+
*/
721+
unreachable?: string[] | null;
718722
}
719723
/**
720724
* This resource represents a long-running operation that is the result of a network API call.
@@ -9644,13 +9648,16 @@ export namespace eventarc_v1 {
96449648
* pageSize: 'placeholder-value',
96459649
* // The standard list page token.
96469650
* pageToken: 'placeholder-value',
9651+
* // 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.
9652+
* returnPartialSuccess: 'placeholder-value',
96479653
* });
96489654
* console.log(res.data);
96499655
*
96509656
* // Example response
96519657
* // {
96529658
* // "nextPageToken": "my_nextPageToken",
9653-
* // "operations": []
9659+
* // "operations": [],
9660+
* // "unreachable": []
96549661
* // }
96559662
* }
96569663
*
@@ -9804,6 +9811,10 @@ export namespace eventarc_v1 {
98049811
* The standard list page token.
98059812
*/
98069813
pageToken?: string;
9814+
/**
9815+
* 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.
9816+
*/
9817+
returnPartialSuccess?: boolean;
98079818
}
98089819

98099820
export class Resource$Projects$Locations$Pipelines {

0 commit comments

Comments
 (0)