Skip to content

Commit 3e70ebf

Browse files
feat(recommendationengine): update the API
#### recommendationengine:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.locations.resources.catalogs.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.catalogs.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.catalogs.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 2b9e8a8 commit 3e70ebf

File tree

2 files changed

+38
-3
lines changed

2 files changed

+38
-3
lines changed

discovery/recommendationengine-v1beta1.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,11 @@
428428
"description": "The standard list page token.",
429429
"location": "query",
430430
"type": "string"
431+
},
432+
"returnPartialSuccess": {
433+
"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.",
434+
"location": "query",
435+
"type": "boolean"
431436
}
432437
},
433438
"path": "v1beta1/{+name}/operations",
@@ -822,6 +827,11 @@
822827
"description": "The standard list page token.",
823828
"location": "query",
824829
"type": "string"
830+
},
831+
"returnPartialSuccess": {
832+
"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.",
833+
"location": "query",
834+
"type": "boolean"
825835
}
826836
},
827837
"path": "v1beta1/{+name}/operations",
@@ -841,7 +851,7 @@
841851
}
842852
}
843853
},
844-
"revision": "20230810",
854+
"revision": "20251009",
845855
"rootUrl": "https://recommendationengine.googleapis.com/",
846856
"schemas": {
847857
"GoogleApiHttpBody": {
@@ -1968,6 +1978,13 @@
19681978
"$ref": "GoogleLongrunningOperation"
19691979
},
19701980
"type": "array"
1981+
},
1982+
"unreachable": {
1983+
"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.",
1984+
"items": {
1985+
"type": "string"
1986+
},
1987+
"type": "array"
19711988
}
19721989
},
19731990
"type": "object"

src/apis/recommendationengine/v1beta1.ts

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,10 @@ export namespace recommendationengine_v1beta1 {
958958
* A list of operations that matches the specified filter in the request.
959959
*/
960960
operations?: Schema$GoogleLongrunningOperation[];
961+
/**
962+
* 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.
963+
*/
964+
unreachable?: string[] | null;
961965
}
962966
/**
963967
* This resource represents a long-running operation that is the result of a network API call.
@@ -2644,14 +2648,17 @@ export namespace recommendationengine_v1beta1 {
26442648
* pageSize: 'placeholder-value',
26452649
* // The standard list page token.
26462650
* pageToken: 'placeholder-value',
2651+
* // 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.
2652+
* returnPartialSuccess: 'placeholder-value',
26472653
* },
26482654
* );
26492655
* console.log(res.data);
26502656
*
26512657
* // Example response
26522658
* // {
26532659
* // "nextPageToken": "my_nextPageToken",
2654-
* // "operations": []
2660+
* // "operations": [],
2661+
* // "unreachable": []
26552662
* // }
26562663
* }
26572664
*
@@ -2788,6 +2795,10 @@ export namespace recommendationengine_v1beta1 {
27882795
* The standard list page token.
27892796
*/
27902797
pageToken?: string;
2798+
/**
2799+
* 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.
2800+
*/
2801+
returnPartialSuccess?: boolean;
27912802
}
27922803

27932804
export class Resource$Projects$Locations$Catalogs$Eventstores$Placements {
@@ -4723,13 +4734,16 @@ export namespace recommendationengine_v1beta1 {
47234734
* pageSize: 'placeholder-value',
47244735
* // The standard list page token.
47254736
* pageToken: 'placeholder-value',
4737+
* // 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.
4738+
* returnPartialSuccess: 'placeholder-value',
47264739
* });
47274740
* console.log(res.data);
47284741
*
47294742
* // Example response
47304743
* // {
47314744
* // "nextPageToken": "my_nextPageToken",
4732-
* // "operations": []
4745+
* // "operations": [],
4746+
* // "unreachable": []
47334747
* // }
47344748
* }
47354749
*
@@ -4866,5 +4880,9 @@ export namespace recommendationengine_v1beta1 {
48664880
* The standard list page token.
48674881
*/
48684882
pageToken?: string;
4883+
/**
4884+
* 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.
4885+
*/
4886+
returnPartialSuccess?: boolean;
48694887
}
48704888
}

0 commit comments

Comments
 (0)