@@ -4957,6 +4957,15 @@ class GoogleCloudRetailV2SearchRequest
49574957 # @return [Hash<String,String>]
49584958 attr_accessor :labels
49594959
4960+ # Optional. The BCP-47 language code, such as "en-US" or "sr-Latn" [list](https:/
4961+ # /www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [
4962+ # Standardized codes](https://google.aip.dev/143). This field helps to better
4963+ # interpret the query. If a value isn't specified, the query language code is
4964+ # automatically detected, which may not be accurate.
4965+ # Corresponds to the JSON property `languageCode`
4966+ # @return [String]
4967+ attr_accessor :language_code
4968+
49604969 # A 0-indexed integer that specifies the current offset (that is, starting
49614970 # result location, amongst the Products deemed by the API as relevant) in search
49624971 # results. This field is only considered if page_token is unset. If this field
@@ -5017,6 +5026,15 @@ class GoogleCloudRetailV2SearchRequest
50175026 # @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec]
50185027 attr_accessor :query_expansion_spec
50195028
5029+ # Optional. The Unicode country/region code (CLDR) of a location, such as "US"
5030+ # and "419" [list](https://www.unicode.org/cldr/charts/46/supplemental/
5031+ # territory_information.html). For more information, see [Standardized codes](
5032+ # https://google.aip.dev/143). If set, then results will be boosted based on the
5033+ # region_code provided.
5034+ # Corresponds to the JSON property `regionCode`
5035+ # @return [String]
5036+ attr_accessor :region_code
5037+
50205038 # The search mode of the search request. If not specified, a single search
50215039 # request triggers both product search and faceted search.
50225040 # Corresponds to the JSON property `searchMode`
@@ -5093,6 +5111,7 @@ def update!(**args)
50935111 @facet_specs = args [ :facet_specs ] if args . key? ( :facet_specs )
50945112 @filter = args [ :filter ] if args . key? ( :filter )
50955113 @labels = args [ :labels ] if args . key? ( :labels )
5114+ @language_code = args [ :language_code ] if args . key? ( :language_code )
50965115 @offset = args [ :offset ] if args . key? ( :offset )
50975116 @order_by = args [ :order_by ] if args . key? ( :order_by )
50985117 @page_categories = args [ :page_categories ] if args . key? ( :page_categories )
@@ -5101,6 +5120,7 @@ def update!(**args)
51015120 @personalization_spec = args [ :personalization_spec ] if args . key? ( :personalization_spec )
51025121 @query = args [ :query ] if args . key? ( :query )
51035122 @query_expansion_spec = args [ :query_expansion_spec ] if args . key? ( :query_expansion_spec )
5123+ @region_code = args [ :region_code ] if args . key? ( :region_code )
51045124 @search_mode = args [ :search_mode ] if args . key? ( :search_mode )
51055125 @spell_correction_spec = args [ :spell_correction_spec ] if args . key? ( :spell_correction_spec )
51065126 @tile_navigation_spec = args [ :tile_navigation_spec ] if args . key? ( :tile_navigation_spec )
@@ -5557,9 +5577,12 @@ def update!(**args)
55575577 class GoogleCloudRetailV2SearchRequestTileNavigationSpec
55585578 include Google ::Apis ::Core ::Hashable
55595579
5560- # This field specifies the tiles which are already clicked in client side. NOTE:
5561- # This field is not being used for filtering search products. Client side should
5562- # also put all the applied tiles in SearchRequest.filter.
5580+ # This optional field specifies the tiles which are already clicked in client
5581+ # side. While the feature works without this field set, particularly for an
5582+ # initial query, it is highly recommended to set this field because it can
5583+ # improve the quality of the search response and removes possible duplicate
5584+ # tiles. NOTE: This field is not being used for filtering search products.
5585+ # Client side should also put all the applied tiles in SearchRequest.filter.
55635586 # Corresponds to the JSON property `appliedTiles`
55645587 # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Tile>]
55655588 attr_accessor :applied_tiles
@@ -6483,10 +6506,8 @@ class GoogleCloudRetailV2UserEvent
64836506 # added to cart. * `remove-from-cart`: Products being removed from cart. * `
64846507 # category-page-view`: Special pages such as sale or promotion pages viewed. * `
64856508 # detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
6486- # viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
6487- # not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
6488- # finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
6489- # User viewing a shopping cart.
6509+ # viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product
6510+ # search. * `shopping-cart-page-view`: User viewing a shopping cart.
64906511 # Corresponds to the JSON property `eventType`
64916512 # @return [String]
64926513 attr_accessor :event_type
0 commit comments