Skip to content

Commit 8e5b6b7

Browse files
feat(retail): update the API
#### retail:v2alpha The following keys were added: - schemas.GoogleCloudRetailV2alphaExportUserEventsRequest.properties.filter.deprecated The following keys were changed: - schemas.GoogleCloudRetailV2alphaExportProductsRequest.properties.filter.description - schemas.GoogleCloudRetailV2alphaExportUserEventsRequest.properties.filter.description #### retail:v2beta The following keys were added: - schemas.GoogleCloudRetailV2betaExportUserEventsRequest.properties.filter.deprecated The following keys were changed: - schemas.GoogleCloudRetailV2betaExportProductsRequest.properties.filter.description - schemas.GoogleCloudRetailV2betaExportUserEventsRequest.properties.filter.description
1 parent edaafb7 commit 8e5b6b7

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

discovery/retail-v2alpha.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2874,7 +2874,7 @@
28742874
}
28752875
}
28762876
},
2877-
"revision": "20251023",
2877+
"revision": "20251030",
28782878
"rootUrl": "https://retail.googleapis.com/",
28792879
"schemas": {
28802880
"GoogleApiHttpBody": {
@@ -5124,7 +5124,7 @@
51245124
"properties": {
51255125
"filter": {
51265126
"deprecated": true,
5127-
"description": "This field is deprecated. Any filter provided will be ignored.",
5127+
"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.",
51285128
"type": "string"
51295129
},
51305130
"outputConfig": {
@@ -5161,7 +5161,8 @@
51615161
"id": "GoogleCloudRetailV2alphaExportUserEventsRequest",
51625162
"properties": {
51635163
"filter": {
5164-
"description": "A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned user events. Use this expression to restrict results to a specific time range or to filter events by eventType. For example, `eventTime > \"2012-04-23T18:25:43.511Z\" eventsMissingCatalogItems eventTime<\"2012-04-23T18:25:43.511Z\" eventType=search` We expect only three types of fields: * `eventTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `eventTime` restriction should result in one, contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and the operators are separated from the tag values by a space. * `eventsMissingCatalogItems`: This restricts results to events for which catalog items were not found in the catalog. The default behavior is to return only those events for which catalog items were found. Some examples of valid filters expressions: * Example 1: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Example 2: `eventTime > \"2012-04-23T18:25:43.511Z\" eventType = detail-page-view` * Example 3: `eventsMissingCatalogItems eventType = (NOT search) eventTime < \"2018-04-23T18:30:43.511Z\"` * Example 4: `eventTime > \"2012-04-23T18:25:43.511Z\"` * Example 5: `eventType = (detail-page-view OR search)` * Example 6: `eventsMissingCatalogItems`",
5164+
"deprecated": true,
5165+
"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.",
51655166
"type": "string"
51665167
},
51675168
"outputConfig": {

discovery/retail-v2beta.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@
24982498
}
24992499
}
25002500
},
2501-
"revision": "20251023",
2501+
"revision": "20251030",
25022502
"rootUrl": "https://retail.googleapis.com/",
25032503
"schemas": {
25042504
"GoogleApiHttpBody": {
@@ -5396,7 +5396,7 @@
53965396
"properties": {
53975397
"filter": {
53985398
"deprecated": true,
5399-
"description": "This field is deprecated. Any filter provided will be ignored.",
5399+
"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.",
54005400
"type": "string"
54015401
},
54025402
"outputConfig": {
@@ -5433,7 +5433,8 @@
54335433
"id": "GoogleCloudRetailV2betaExportUserEventsRequest",
54345434
"properties": {
54355435
"filter": {
5436-
"description": "A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned user events. Use this expression to restrict results to a specific time range or to filter events by eventType. For example, `eventTime > \"2012-04-23T18:25:43.511Z\" eventsMissingCatalogItems eventTime<\"2012-04-23T18:25:43.511Z\" eventType=search` We expect only three types of fields: * `eventTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `eventTime` restriction should result in one, contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and the operators are separated from the tag values by a space. * `eventsMissingCatalogItems`: This restricts results to events for which catalog items were not found in the catalog. The default behavior is to return only those events for which catalog items were found. Some examples of valid filters expressions: * Example 1: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Example 2: `eventTime > \"2012-04-23T18:25:43.511Z\" eventType = detail-page-view` * Example 3: `eventsMissingCatalogItems eventType = (NOT search) eventTime < \"2018-04-23T18:30:43.511Z\"` * Example 4: `eventTime > \"2012-04-23T18:25:43.511Z\"` * Example 5: `eventType = (detail-page-view OR search)` * Example 6: `eventsMissingCatalogItems`",
5436+
"deprecated": true,
5437+
"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.",
54375438
"type": "string"
54385439
},
54395440
"outputConfig": {

src/apis/retail/v2alpha.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ export namespace retail_v2alpha {
13181318
*/
13191319
export interface Schema$GoogleCloudRetailV2alphaExportProductsRequest {
13201320
/**
1321-
* This field is deprecated. Any filter provided will be ignored.
1321+
* Deprecated: This field is deprecated. Any filter provided will be ignored.
13221322
*/
13231323
filter?: string | null;
13241324
/**
@@ -1348,7 +1348,7 @@ export namespace retail_v2alpha {
13481348
*/
13491349
export interface Schema$GoogleCloudRetailV2alphaExportUserEventsRequest {
13501350
/**
1351-
* A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned user events. Use this expression to restrict results to a specific time range or to filter events by eventType. For example, `eventTime \> "2012-04-23T18:25:43.511Z" eventsMissingCatalogItems eventTime<"2012-04-23T18:25:43.511Z" eventType=search` We expect only three types of fields: * `eventTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `eventTime` restriction should result in one, contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and the operators are separated from the tag values by a space. * `eventsMissingCatalogItems`: This restricts results to events for which catalog items were not found in the catalog. The default behavior is to return only those events for which catalog items were found. Some examples of valid filters expressions: * Example 1: `eventTime \> "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z"` * Example 2: `eventTime \> "2012-04-23T18:25:43.511Z" eventType = detail-page-view` * Example 3: `eventsMissingCatalogItems eventType = (NOT search) eventTime < "2018-04-23T18:30:43.511Z"` * Example 4: `eventTime \> "2012-04-23T18:25:43.511Z"` * Example 5: `eventType = (detail-page-view OR search)` * Example 6: `eventsMissingCatalogItems`
1351+
* Deprecated: This field is deprecated. Any filter provided will be ignored.
13521352
*/
13531353
filter?: string | null;
13541354
/**

src/apis/retail/v2beta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ export namespace retail_v2beta {
17681768
*/
17691769
export interface Schema$GoogleCloudRetailV2betaExportProductsRequest {
17701770
/**
1771-
* This field is deprecated. Any filter provided will be ignored.
1771+
* Deprecated: This field is deprecated. Any filter provided will be ignored.
17721772
*/
17731773
filter?: string | null;
17741774
/**
@@ -1798,7 +1798,7 @@ export namespace retail_v2beta {
17981798
*/
17991799
export interface Schema$GoogleCloudRetailV2betaExportUserEventsRequest {
18001800
/**
1801-
* A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned user events. Use this expression to restrict results to a specific time range or to filter events by eventType. For example, `eventTime \> "2012-04-23T18:25:43.511Z" eventsMissingCatalogItems eventTime<"2012-04-23T18:25:43.511Z" eventType=search` We expect only three types of fields: * `eventTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `eventTime` restriction should result in one, contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and the operators are separated from the tag values by a space. * `eventsMissingCatalogItems`: This restricts results to events for which catalog items were not found in the catalog. The default behavior is to return only those events for which catalog items were found. Some examples of valid filters expressions: * Example 1: `eventTime \> "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z"` * Example 2: `eventTime \> "2012-04-23T18:25:43.511Z" eventType = detail-page-view` * Example 3: `eventsMissingCatalogItems eventType = (NOT search) eventTime < "2018-04-23T18:30:43.511Z"` * Example 4: `eventTime \> "2012-04-23T18:25:43.511Z"` * Example 5: `eventType = (detail-page-view OR search)` * Example 6: `eventsMissingCatalogItems`
1801+
* Deprecated: This field is deprecated. Any filter provided will be ignored.
18021802
*/
18031803
filter?: string | null;
18041804
/**

0 commit comments

Comments
 (0)