Skip to content

Commit 009f7d6

Browse files
feat(retail): update the api
#### retail:v2 The following keys were deleted: - resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.predict (Total Keys: 12) - resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.search (Total Keys: 12) The following keys were added: - schemas.GoogleCloudRetailV2SearchRequest.properties.labels (Total Keys: 2) #### retail:v2alpha The following keys were deleted: - resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.predict (Total Keys: 12) - resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.search (Total Keys: 12) The following keys were added: - schemas.GoogleCloudRetailV2alphaImportProductsRequest.properties.skipDefaultBranchProtection.type (Total Keys: 1) - schemas.GoogleCloudRetailV2alphaSearchRequest.properties.labels (Total Keys: 2) #### retail:v2beta The following keys were deleted: - resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.predict (Total Keys: 12) - resources.projects.resources.locations.resources.catalogs.resources.servingConfigs.methods.search (Total Keys: 12) The following keys were added: - schemas.GoogleCloudRetailV2betaSearchRequest.properties.labels (Total Keys: 2)
1 parent e539104 commit 009f7d6

17 files changed

+242
-1413
lines changed

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

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

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ <h2>Instance Methods</h2>
9494
</p>
9595
<p class="firstline">Returns the placements Resource.</p>
9696

97-
<p class="toc_element">
98-
<code><a href="retail_v2.projects.locations.catalogs.servingConfigs.html">servingConfigs()</a></code>
99-
</p>
100-
<p class="firstline">Returns the servingConfigs Resource.</p>
101-
10297
<p class="toc_element">
10398
<code><a href="retail_v2.projects.locations.catalogs.userEvents.html">userEvents()</a></code>
10499
</p>
@@ -157,11 +152,11 @@ <h3>Method Details</h3>
157152
{ # Resource that represents completion results.
158153
&quot;attributes&quot;: { # Custom attributes for the suggestion term. * For &quot;user-data&quot;, the attributes are additional custom attributes ingested through BigQuery. * For &quot;cloud-retail&quot;, the attributes are product attributes generated by Cloud Retail.
159154
&quot;a_key&quot;: { # A custom attribute that is not explicitly modeled in Product.
160-
&quot;indexable&quot;: True or False, # This field will only be used when AttributesConfig.attribute_config_level of the Catalog is &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27;, 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.
155+
&quot;indexable&quot;: True or False, # This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27; mode. You may learn more on [configuration mode] (https://cloud.google.com/retail/docs/attribute-config#config-modes). 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.
161156
&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.
162157
3.14,
163158
],
164-
&quot;searchable&quot;: True or False, # This field will only be used when AttributesConfig.attribute_config_level of the Catalog is &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27;, 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.
159+
&quot;searchable&quot;: True or False, # This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27; mode. You may learn more on [configuration mode] (https://cloud.google.com/retail/docs/attribute-config#config-modes). 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.
165160
&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;. Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
166161
&quot;A String&quot;,
167162
],

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

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

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

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

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ <h3>Method Details</h3>
179179
{ # Resource that represents completion results.
180180
&quot;attributes&quot;: { # Custom attributes for the suggestion term. * For &quot;user-data&quot;, the attributes are additional custom attributes ingested through BigQuery. * For &quot;cloud-retail&quot;, the attributes are product attributes generated by Cloud Retail.
181181
&quot;a_key&quot;: { # A custom attribute that is not explicitly modeled in Product.
182-
&quot;indexable&quot;: True or False, # This field will only be used when AttributesConfig.attribute_config_level of the Catalog is &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27;, 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.
182+
&quot;indexable&quot;: True or False, # This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27; mode. You may learn more on [configuration mode] (https://cloud.google.com/retail/docs/attribute-config#config-modes). 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.
183183
&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.
184184
3.14,
185185
],
186-
&quot;searchable&quot;: True or False, # This field will only be used when AttributesConfig.attribute_config_level of the Catalog is &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27;, 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.
186+
&quot;searchable&quot;: True or False, # This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated &#x27;PRODUCT_LEVEL_ATTRIBUTE_CONFIG&#x27; mode. You may learn more on [configuration mode] (https://cloud.google.com/retail/docs/attribute-config#config-modes). 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.
187187
&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;. Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.
188188
&quot;A String&quot;,
189189
],

0 commit comments

Comments
 (0)