Skip to content

Commit 0fea359

Browse files
feat(retail): update the api
#### retail:v2alpha The following keys were added: - schemas.GoogleCloudRetailV2alphaExportProductsRequest.properties.filter.deprecated (Total Keys: 1) #### retail:v2beta The following keys were added: - schemas.GoogleCloudRetailV2betaExportProductsRequest.properties.filter.deprecated (Total Keys: 1)
1 parent 4e33eb5 commit 0fea359

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

docs/dyn/retail_v2alpha.projects.locations.catalogs.branches.products.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ <h3>Method Details</h3>
639639
The object takes the form of:
640640

641641
{ # Request message for ExportProducts method.
642-
&quot;filter&quot;: &quot;A String&quot;, # A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned products. Use this expression to restrict results to a specific time range, tag, or stock state or to filter products by product type. For example, `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot; lastModifiedTime&lt;&quot;2012-04-23T18:25:43.511Z&quot; productType=primary` We expect only four types of fields: * `lastModifiedTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `lastModifiedTime` restriction should result in one, contiguous, valid, last-modified, time range. * `productType`: Supported values are `primary` and `variant`. The Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `productType` values by a space. * `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`, `PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `availability` values by a space. * `Tag expressions`: Restricts output to products that match all of the specified tags. 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. Also supported is &#x27;`-&quot;tagA&quot;`&#x27;, which is equivalent to &#x27;`NOT &quot;tagA&quot;`&#x27;. Tag values must be double-quoted, UTF-8 encoded strings and have a size limit of 1,000 characters. Some examples of valid filters expressions: * Example 1: `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot; lastModifiedTime &lt; &quot;2012-04-23T18:30:43.511Z&quot;` * Example 2: `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot; productType = &quot;variant&quot;` * Example 3: `tag=(&quot;Red&quot; OR &quot;Blue&quot;) tag=&quot;New-Arrival&quot; tag=(NOT &quot;promotional&quot;) productType = &quot;primary&quot; lastModifiedTime &lt; &quot;2018-04-23T18:30:43.511Z&quot;` * Example 4: `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot;` * Example 5: `availability = (IN_STOCK OR BACKORDER)`
642+
&quot;filter&quot;: &quot;A String&quot;, # This field is deprecated. Any filter provided will be ignored.
643643
&quot;outputConfig&quot;: { # The output configuration setting. # Required. The output location of the data.
644644
&quot;bigqueryDestination&quot;: { # The BigQuery output destination configuration. # The BigQuery location where the output is to be written to.
645645
&quot;datasetId&quot;: &quot;A String&quot;, # Required. The ID of a BigQuery Dataset.

docs/dyn/retail_v2beta.projects.locations.catalogs.branches.products.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ <h3>Method Details</h3>
635635
The object takes the form of:
636636

637637
{ # Request message for ExportProducts method.
638-
&quot;filter&quot;: &quot;A String&quot;, # A filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned products. Use this expression to restrict results to a specific time range, tag, or stock state or to filter products by product type. For example, `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot; lastModifiedTime&lt;&quot;2012-04-23T18:25:43.511Z&quot; productType=primary` We expect only four types of fields: * `lastModifiedTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `lastModifiedTime` restriction should result in one, contiguous, valid, last-modified, time range. * `productType`: Supported values are `primary` and `variant`. The Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `productType` values by a space. * `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`, `PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `availability` values by a space. * `Tag expressions`: Restricts output to products that match all of the specified tags. 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. Also supported is &#x27;`-&quot;tagA&quot;`&#x27;, which is equivalent to &#x27;`NOT &quot;tagA&quot;`&#x27;. Tag values must be double-quoted, UTF-8 encoded strings and have a size limit of 1,000 characters. Some examples of valid filters expressions: * Example 1: `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot; lastModifiedTime &lt; &quot;2012-04-23T18:30:43.511Z&quot;` * Example 2: `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot; productType = &quot;variant&quot;` * Example 3: `tag=(&quot;Red&quot; OR &quot;Blue&quot;) tag=&quot;New-Arrival&quot; tag=(NOT &quot;promotional&quot;) productType = &quot;primary&quot; lastModifiedTime &lt; &quot;2018-04-23T18:30:43.511Z&quot;` * Example 4: `lastModifiedTime &gt; &quot;2012-04-23T18:25:43.511Z&quot;` * Example 5: `availability = (IN_STOCK OR BACKORDER)`
638+
&quot;filter&quot;: &quot;A String&quot;, # This field is deprecated. Any filter provided will be ignored.
639639
&quot;outputConfig&quot;: { # The output configuration setting. # Required. The output location of the data.
640640
&quot;bigqueryDestination&quot;: { # The BigQuery output destination configuration. # The BigQuery location where the output is to be written to.
641641
&quot;datasetId&quot;: &quot;A String&quot;, # Required. The ID of a BigQuery Dataset.

googleapiclient/discovery_cache/documents/retail.v2alpha.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2874,7 +2874,7 @@
28742874
}
28752875
}
28762876
},
2877-
"revision": "20251002",
2877+
"revision": "20251023",
28782878
"rootUrl": "https://retail.googleapis.com/",
28792879
"schemas": {
28802880
"GoogleApiHttpBody": {
@@ -5123,7 +5123,8 @@
51235123
"id": "GoogleCloudRetailV2alphaExportProductsRequest",
51245124
"properties": {
51255125
"filter": {
5126-
"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 products. Use this expression to restrict results to a specific time range, tag, or stock state or to filter products by product type. For example, `lastModifiedTime > \"2012-04-23T18:25:43.511Z\" lastModifiedTime<\"2012-04-23T18:25:43.511Z\" productType=primary` We expect only four types of fields: * `lastModifiedTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `lastModifiedTime` restriction should result in one, contiguous, valid, last-modified, time range. * `productType`: Supported values are `primary` and `variant`. The Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `productType` values by a space. * `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`, `PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `availability` values by a space. * `Tag expressions`: Restricts output to products that match all of the specified tags. 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. Also supported is '`-\"tagA\"`', which is equivalent to '`NOT \"tagA\"`'. Tag values must be double-quoted, UTF-8 encoded strings and have a size limit of 1,000 characters. Some examples of valid filters expressions: * Example 1: `lastModifiedTime > \"2012-04-23T18:25:43.511Z\" lastModifiedTime < \"2012-04-23T18:30:43.511Z\"` * Example 2: `lastModifiedTime > \"2012-04-23T18:25:43.511Z\" productType = \"variant\"` * Example 3: `tag=(\"Red\" OR \"Blue\") tag=\"New-Arrival\" tag=(NOT \"promotional\") productType = \"primary\" lastModifiedTime < \"2018-04-23T18:30:43.511Z\"` * Example 4: `lastModifiedTime > \"2012-04-23T18:25:43.511Z\"` * Example 5: `availability = (IN_STOCK OR BACKORDER)`",
5126+
"deprecated": true,
5127+
"description": "This field is deprecated. Any filter provided will be ignored.",
51275128
"type": "string"
51285129
},
51295130
"outputConfig": {

googleapiclient/discovery_cache/documents/retail.v2beta.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@
24982498
}
24992499
}
25002500
},
2501-
"revision": "20251002",
2501+
"revision": "20251023",
25022502
"rootUrl": "https://retail.googleapis.com/",
25032503
"schemas": {
25042504
"GoogleApiHttpBody": {
@@ -5395,7 +5395,8 @@
53955395
"id": "GoogleCloudRetailV2betaExportProductsRequest",
53965396
"properties": {
53975397
"filter": {
5398-
"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 products. Use this expression to restrict results to a specific time range, tag, or stock state or to filter products by product type. For example, `lastModifiedTime > \"2012-04-23T18:25:43.511Z\" lastModifiedTime<\"2012-04-23T18:25:43.511Z\" productType=primary` We expect only four types of fields: * `lastModifiedTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `lastModifiedTime` restriction should result in one, contiguous, valid, last-modified, time range. * `productType`: Supported values are `primary` and `variant`. The Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `productType` values by a space. * `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`, `PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `availability` values by a space. * `Tag expressions`: Restricts output to products that match all of the specified tags. 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. Also supported is '`-\"tagA\"`', which is equivalent to '`NOT \"tagA\"`'. Tag values must be double-quoted, UTF-8 encoded strings and have a size limit of 1,000 characters. Some examples of valid filters expressions: * Example 1: `lastModifiedTime > \"2012-04-23T18:25:43.511Z\" lastModifiedTime < \"2012-04-23T18:30:43.511Z\"` * Example 2: `lastModifiedTime > \"2012-04-23T18:25:43.511Z\" productType = \"variant\"` * Example 3: `tag=(\"Red\" OR \"Blue\") tag=\"New-Arrival\" tag=(NOT \"promotional\") productType = \"primary\" lastModifiedTime < \"2018-04-23T18:30:43.511Z\"` * Example 4: `lastModifiedTime > \"2012-04-23T18:25:43.511Z\"` * Example 5: `availability = (IN_STOCK OR BACKORDER)`",
5398+
"deprecated": true,
5399+
"description": "This field is deprecated. Any filter provided will be ignored.",
53995400
"type": "string"
54005401
},
54015402
"outputConfig": {

0 commit comments

Comments
 (0)