Skip to content

Commit 4e21ee2

Browse files
feat(retail): update the api
#### retail:v2 The following keys were added: - schemas.GoogleCloudRetailV2SearchResponse.properties.appliedControls (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesMetadata (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesResponse (Total Keys: 2) #### retail:v2alpha The following keys were added: - resources.projects.resources.locations.resources.catalogs.resources.branches.resources.products.methods.setLocalInventories (Total Keys: 12) - schemas.GoogleCloudRetailV2alphaMerchantCenterLink.properties.languageCode.type (Total Keys: 1) - schemas.GoogleCloudRetailV2alphaMerchantCenterLink.properties.regionCode.type (Total Keys: 1) - schemas.GoogleCloudRetailV2alphaSearchResponse.properties.appliedControls (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesMetadata (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesRequest (Total Keys: 7) - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesResponse (Total Keys: 2) #### retail:v2beta The following keys were added: - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesMetadata (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaSetLocalInventoriesResponse (Total Keys: 2) - schemas.GoogleCloudRetailV2betaSearchResponse.properties.appliedControls (Total Keys: 2)
1 parent a1ad2c3 commit 4e21ee2

15 files changed

+1244
-1028
lines changed

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

Lines changed: 176 additions & 176 deletions
Large diffs are not rendered by default.

docs/dyn/retail_v2.projects.locations.catalogs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ <h3>Method Details</h3>
153153
&quot;attributes&quot;: { # Additional custom attributes ingested through BigQuery.
154154
&quot;a_key&quot;: { # A custom attribute that is not explicitly modeled in Product.
155155
&quot;indexable&quot;: True or False, # If true, custom attribute values are indexed, so that it can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.
156-
&quot;numbers&quot;: [ # The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is &quot;lengths_cm&quot;. At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
156+
&quot;numbers&quot;: [ # The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is &quot;lengths_cm&quot;. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
157157
3.14,
158158
],
159159
&quot;searchable&quot;: True or False, # If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.
160-
&quot;text&quot;: [ # The textual values of this custom attribute. For example, `[&quot;yellow&quot;, &quot;green&quot;]` when the key is &quot;color&quot;. At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
160+
&quot;text&quot;: [ # The textual values of this custom attribute. For example, `[&quot;yellow&quot;, &quot;green&quot;]` when the key is &quot;color&quot;. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
161161
&quot;A String&quot;,
162162
],
163163
},

docs/dyn/retail_v2.projects.locations.catalogs.placements.html

Lines changed: 54 additions & 51 deletions
Large diffs are not rendered by default.

docs/dyn/retail_v2.projects.locations.catalogs.userEvents.html

Lines changed: 81 additions & 81 deletions
Large diffs are not rendered by default.

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

Lines changed: 270 additions & 185 deletions
Large diffs are not rendered by default.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ <h3>Method Details</h3>
153153
&quot;attributes&quot;: { # Additional custom attributes ingested through BigQuery.
154154
&quot;a_key&quot;: { # A custom attribute that is not explicitly modeled in Product.
155155
&quot;indexable&quot;: True or False, # If true, custom attribute values are indexed, so that it can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.
156-
&quot;numbers&quot;: [ # The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is &quot;lengths_cm&quot;. At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
156+
&quot;numbers&quot;: [ # The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is &quot;lengths_cm&quot;. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
157157
3.14,
158158
],
159159
&quot;searchable&quot;: True or False, # If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.
160-
&quot;text&quot;: [ # The textual values of this custom attribute. For example, `[&quot;yellow&quot;, &quot;green&quot;]` when the key is &quot;color&quot;. At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
160+
&quot;text&quot;: [ # The textual values of this custom attribute. For example, `[&quot;yellow&quot;, &quot;green&quot;]` when the key is &quot;color&quot;. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
161161
&quot;A String&quot;,
162162
],
163163
},
@@ -221,7 +221,9 @@ <h3>Method Details</h3>
221221
&quot;destinations&quot;: [ # String representing the destination to import for, all if left empty. List of possible values can be found here. [https://support.google.com/merchants/answer/7501026] List of allowed string values: &quot;Shopping_ads&quot;, &quot;Buy_on_google_listings&quot;, &quot;Display_ads&quot;, &quot;Local_inventory _ads&quot;, &quot;Free_listings&quot;, &quot;Free_local_listings&quot; NOTE: The string values are case sensitive.
222222
&quot;A String&quot;,
223223
],
224+
&quot;languageCode&quot;: &quot;A String&quot;, # Language of the title/description and other string attributes. Use language tags defined by BCP 47. ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed.
224225
&quot;merchantCenterAccountId&quot;: &quot;A String&quot;, # Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.
226+
&quot;regionCode&quot;: &quot;A String&quot;, # Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found here under the `region` tag. [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry]. If left blank no region filtering will be performed. Ex. `US`.
225227
},
226228
],
227229
},
@@ -268,7 +270,9 @@ <h3>Method Details</h3>
268270
&quot;destinations&quot;: [ # String representing the destination to import for, all if left empty. List of possible values can be found here. [https://support.google.com/merchants/answer/7501026] List of allowed string values: &quot;Shopping_ads&quot;, &quot;Buy_on_google_listings&quot;, &quot;Display_ads&quot;, &quot;Local_inventory _ads&quot;, &quot;Free_listings&quot;, &quot;Free_local_listings&quot; NOTE: The string values are case sensitive.
269271
&quot;A String&quot;,
270272
],
273+
&quot;languageCode&quot;: &quot;A String&quot;, # Language of the title/description and other string attributes. Use language tags defined by BCP 47. ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed.
271274
&quot;merchantCenterAccountId&quot;: &quot;A String&quot;, # Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.
275+
&quot;regionCode&quot;: &quot;A String&quot;, # Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found here under the `region` tag. [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry]. If left blank no region filtering will be performed. Ex. `US`.
272276
},
273277
],
274278
},
@@ -297,7 +301,9 @@ <h3>Method Details</h3>
297301
&quot;destinations&quot;: [ # String representing the destination to import for, all if left empty. List of possible values can be found here. [https://support.google.com/merchants/answer/7501026] List of allowed string values: &quot;Shopping_ads&quot;, &quot;Buy_on_google_listings&quot;, &quot;Display_ads&quot;, &quot;Local_inventory _ads&quot;, &quot;Free_listings&quot;, &quot;Free_local_listings&quot; NOTE: The string values are case sensitive.
298302
&quot;A String&quot;,
299303
],
304+
&quot;languageCode&quot;: &quot;A String&quot;, # Language of the title/description and other string attributes. Use language tags defined by BCP 47. ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed.
300305
&quot;merchantCenterAccountId&quot;: &quot;A String&quot;, # Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.
306+
&quot;regionCode&quot;: &quot;A String&quot;, # Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found here under the `region` tag. [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry]. If left blank no region filtering will be performed. Ex. `US`.
301307
},
302308
],
303309
},

0 commit comments

Comments
 (0)