Skip to content

Commit 32a393d

Browse files
feat(workflows): update the API
#### workflows:v1beta 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 #### workflows: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
1 parent 3e3c179 commit 32a393d

File tree

4 files changed

+50
-4
lines changed

4 files changed

+50
-4
lines changed

discovery/workflows-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@
266266
"description": "The standard list page token.",
267267
"location": "query",
268268
"type": "string"
269+
},
270+
"returnPartialSuccess": {
271+
"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.",
272+
"location": "query",
273+
"type": "boolean"
269274
}
270275
},
271276
"path": "v1/{+name}/operations",
@@ -491,7 +496,7 @@
491496
}
492497
}
493498
},
494-
"revision": "20250916",
499+
"revision": "20251013",
495500
"rootUrl": "https://workflows.googleapis.com/",
496501
"schemas": {
497502
"Empty": {
@@ -532,6 +537,13 @@
532537
"$ref": "Operation"
533538
},
534539
"type": "array"
540+
},
541+
"unreachable": {
542+
"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.",
543+
"items": {
544+
"type": "string"
545+
},
546+
"type": "array"
535547
}
536548
},
537549
"type": "object"

discovery/workflows-v1beta.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@
266266
"description": "The standard list page token.",
267267
"location": "query",
268268
"type": "string"
269+
},
270+
"returnPartialSuccess": {
271+
"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.",
272+
"location": "query",
273+
"type": "boolean"
269274
}
270275
},
271276
"path": "v1beta/{+name}/operations",
@@ -450,7 +455,7 @@
450455
}
451456
}
452457
},
453-
"revision": "20250916",
458+
"revision": "20251013",
454459
"rootUrl": "https://workflows.googleapis.com/",
455460
"schemas": {
456461
"Empty": {
@@ -491,6 +496,13 @@
491496
"$ref": "Operation"
492497
},
493498
"type": "array"
499+
},
500+
"unreachable": {
501+
"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.",
502+
"items": {
503+
"type": "string"
504+
},
505+
"type": "array"
494506
}
495507
},
496508
"type": "object"

src/apis/workflows/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ export namespace workflows_v1 {
153153
* A list of operations that matches the specified filter in the request.
154154
*/
155155
operations?: Schema$Operation[];
156+
/**
157+
* 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.
158+
*/
159+
unreachable?: string[] | null;
156160
}
157161
/**
158162
* Response for the ListWorkflowRevisions method.
@@ -1025,13 +1029,16 @@ export namespace workflows_v1 {
10251029
* pageSize: 'placeholder-value',
10261030
* // The standard list page token.
10271031
* pageToken: 'placeholder-value',
1032+
* // 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.
1033+
* returnPartialSuccess: 'placeholder-value',
10281034
* });
10291035
* console.log(res.data);
10301036
*
10311037
* // Example response
10321038
* // {
10331039
* // "nextPageToken": "my_nextPageToken",
1034-
* // "operations": []
1040+
* // "operations": [],
1041+
* // "unreachable": []
10351042
* // }
10361043
* }
10371044
*
@@ -1165,6 +1172,10 @@ export namespace workflows_v1 {
11651172
* The standard list page token.
11661173
*/
11671174
pageToken?: string;
1175+
/**
1176+
* 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.
1177+
*/
1178+
returnPartialSuccess?: boolean;
11681179
}
11691180

11701181
export class Resource$Projects$Locations$Workflows {

src/apis/workflows/v1beta.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ export namespace workflows_v1beta {
153153
* A list of operations that matches the specified filter in the request.
154154
*/
155155
operations?: Schema$Operation[];
156+
/**
157+
* 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.
158+
*/
159+
unreachable?: string[] | null;
156160
}
157161
/**
158162
* Response for the ListWorkflows method.
@@ -963,13 +967,16 @@ export namespace workflows_v1beta {
963967
* pageSize: 'placeholder-value',
964968
* // The standard list page token.
965969
* pageToken: 'placeholder-value',
970+
* // 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.
971+
* returnPartialSuccess: 'placeholder-value',
966972
* });
967973
* console.log(res.data);
968974
*
969975
* // Example response
970976
* // {
971977
* // "nextPageToken": "my_nextPageToken",
972-
* // "operations": []
978+
* // "operations": [],
979+
* // "unreachable": []
973980
* // }
974981
* }
975982
*
@@ -1103,6 +1110,10 @@ export namespace workflows_v1beta {
11031110
* The standard list page token.
11041111
*/
11051112
pageToken?: string;
1113+
/**
1114+
* 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.
1115+
*/
1116+
returnPartialSuccess?: boolean;
11061117
}
11071118

11081119
export class Resource$Projects$Locations$Workflows {

0 commit comments

Comments
 (0)