@@ -104,8 +104,7 @@ message CatalogAttribute {
104104
105105 // The status of the indexable option of a catalog attribute.
106106 enum IndexableOption {
107- // Value used when unset. Defaults to
108- // [INDEXABLE_ENABLED][google.cloud.retail.v2beta.CatalogAttribute.IndexableOption.INDEXABLE_ENABLED].
107+ // Value used when unset.
109108 INDEXABLE_OPTION_UNSPECIFIED = 0 ;
110109
111110 // Indexable option enabled for an attribute.
@@ -117,8 +116,7 @@ message CatalogAttribute {
117116
118117 // The status of the dynamic facetable option of a catalog attribute.
119118 enum DynamicFacetableOption {
120- // Value used when unset. Defaults to
121- // [DYNAMIC_FACETABLE_ENABLED][google.cloud.retail.v2beta.CatalogAttribute.DynamicFacetableOption.DYNAMIC_FACETABLE_ENABLED].
119+ // Value used when unset.
122120 DYNAMIC_FACETABLE_OPTION_UNSPECIFIED = 0 ;
123121
124122 // Dynamic facetable option enabled for an attribute.
@@ -130,8 +128,7 @@ message CatalogAttribute {
130128
131129 // The status of the searchable option of a catalog attribute.
132130 enum SearchableOption {
133- // Value used when unset. Defaults to
134- // [SEARCHABLE_DISABLED][google.cloud.retail.v2beta.CatalogAttribute.SearchableOption.SEARCHABLE_DISABLED].
131+ // Value used when unset.
135132 SEARCHABLE_OPTION_UNSPECIFIED = 0 ;
136133
137134 // Searchable option enabled for an attribute.
@@ -154,6 +151,19 @@ message CatalogAttribute {
154151 EXACT_SEARCHABLE_DISABLED = 2 ;
155152 }
156153
154+ // The status of the retrievable option of a catalog attribute.
155+ enum RetrievableOption {
156+ // Value used when unset. Defaults to
157+ // [RETRIEVABLE_DISABLED][google.cloud.retail.v2beta.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED].
158+ RETRIEVABLE_OPTION_UNSPECIFIED = 0 ;
159+
160+ // Retrievable option enabled for an attribute.
161+ RETRIEVABLE_ENABLED = 1 ;
162+
163+ // Retrievable option disabled for an attribute.
164+ RETRIEVABLE_DISABLED = 2 ;
165+ }
166+
157167 // Required. Attribute name.
158168 // For example: `color`, `brands`, `attributes.custom_attribute`, such as
159169 // `attributes.xyz`.
@@ -177,13 +187,13 @@ message CatalogAttribute {
177187 // APIs. This field is `False` for pre-loaded
178188 // [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s.
179189 //
180- // Only pre-loaded
181- // [CatalogAttribute ][google.cloud.retail.v2beta.CatalogAttribute]s that are
182- // neither in use by products nor predefined can be deleted.
183- // [CatalogAttribute ][google.cloud.retail.v2beta.CatalogAttribute]s that are
184- // either in use by products or are predefined cannot be deleted; however,
185- // their configuration properties will reset to default values upon removal
186- // request.
190+ // Only pre-loaded [catalog
191+ // attributes ][google.cloud.retail.v2beta.CatalogAttribute] that are neither
192+ // in use by products nor predefined can be deleted. [Catalog
193+ // attributes ][google.cloud.retail.v2beta.CatalogAttribute] that are
194+ // either in use by products or are predefined attributes cannot be deleted;
195+ // however, their configuration properties will reset to default values upon
196+ // removal request.
187197 //
188198 // After catalog changes, it takes about 10 minutes for this field to update.
189199 bool in_use = 9 [(google.api.field_behavior ) = OUTPUT_ONLY ];
@@ -197,12 +207,16 @@ message CatalogAttribute {
197207 // is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values
198208 // are indexed so that it can be filtered, faceted, or boosted in
199209 // [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search].
210+ //
211+ // Must be specified, otherwise throws INVALID_FORMAT error.
200212 IndexableOption indexable_option = 5 ;
201213
202214 // If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic
203215 // facet. Could only be DYNAMIC_FACETABLE_DISABLED if
204216 // [CatalogAttribute.indexable_option][google.cloud.retail.v2beta.CatalogAttribute.indexable_option]
205217 // is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned.
218+ //
219+ // Must be specified, otherwise throws INVALID_FORMAT error.
206220 DynamicFacetableOption dynamic_facetable_option = 6 ;
207221
208222 // When
@@ -215,6 +229,8 @@ message CatalogAttribute {
215229 // will not be searchable by text queries in
216230 // [SearchService.Search][google.cloud.retail.v2beta.SearchService.Search], as
217231 // there are no text values associated to numerical attributes.
232+ //
233+ // Must be specified, otherwise throws INVALID_FORMAT error.
218234 SearchableOption searchable_option = 7 ;
219235
220236 // When
@@ -229,6 +245,10 @@ message CatalogAttribute {
229245 // This property only applies to textual custom attributes and requires
230246 // indexable set to enabled to enable exact-searchable.
231247 ExactSearchableOption exact_searchable_option = 11 ;
248+
249+ // If RETRIEVABLE_ENABLED, attribute values are retrievable in the search
250+ // results.
251+ RetrievableOption retrievable_option = 12 ;
232252}
233253
234254// Catalog level attribute config.
@@ -353,16 +373,16 @@ message CompletionConfig {
353373// will be streamed to the linked branch.
354374message MerchantCenterLink {
355375 // Required. The linked [Merchant center account
356- // id ](https://developers.google.com/shopping-content/guides/accountstatuses).
376+ // ID ](https://developers.google.com/shopping-content/guides/accountstatuses).
357377 // The account must be a standalone account or a sub-account of a MCA.
358378 int64 merchant_center_account_id = 1 [(google.api.field_behavior ) = REQUIRED ];
359379
360- // The branch id (e.g. 0/1/2) within this catalog that products from
380+ // The branch ID (e.g. 0/1/2) within this catalog that products from
361381 // merchant_center_account_id are streamed to. When updating this field, an
362382 // empty value will use the currently configured default branch. However,
363383 // changing the default branch later on won't change the linked branch here.
364384 //
365- // A single branch id can only have one linked merchant center account id .
385+ // A single branch ID can only have one linked merchant center account ID .
366386 string branch_id = 2 ;
367387
368388 // String representing the destination to import for, all if left empty.
@@ -392,6 +412,21 @@ message MerchantCenterLink {
392412 //
393413 // Example value: `en`.
394414 string language_code = 5 ;
415+
416+ // Criteria for the Merchant Center feeds to be ingested via the link.
417+ // All offers will be ingested if the list is empty.
418+ // Otherwise the offers will be ingested from selected feeds.
419+ repeated MerchantCenterFeedFilter feeds = 6 ;
420+ }
421+
422+ // Merchant Center Feed filter criterion.
423+ message MerchantCenterFeedFilter {
424+ // Merchant Center primary feed ID.
425+ int64 primary_feed_id = 1 ;
426+
427+ // Merchant Center primary feed name. The name is used for the display
428+ // purposes only.
429+ string primary_feed_name = 2 ;
395430}
396431
397432// Configures Merchant Center linking.
0 commit comments