@@ -6967,6 +6967,15 @@ class GoogleCloudRetailV2alphaSearchRequest
69676967 # @return [Hash<String,String>]
69686968 attr_accessor :labels
69696969
6970+ # Optional. The BCP-47 language code, such as "en-US" or "sr-Latn" [list](https:/
6971+ # /www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [
6972+ # Standardized codes](https://google.aip.dev/143). This field helps to better
6973+ # interpret the query. If a value isn't specified, the query language code is
6974+ # automatically detected, which may not be accurate.
6975+ # Corresponds to the JSON property `languageCode`
6976+ # @return [String]
6977+ attr_accessor :language_code
6978+
69706979 # A 0-indexed integer that specifies the current offset (that is, starting
69716980 # result location, amongst the Products deemed by the API as relevant) in search
69726981 # results. This field is only considered if page_token is unset. If this field
@@ -7027,6 +7036,15 @@ class GoogleCloudRetailV2alphaSearchRequest
70277036 # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec]
70287037 attr_accessor :query_expansion_spec
70297038
7039+ # Optional. The Unicode country/region code (CLDR) of a location, such as "US"
7040+ # and "419" [list](https://www.unicode.org/cldr/charts/46/supplemental/
7041+ # territory_information.html). For more information, see [Standardized codes](
7042+ # https://google.aip.dev/143). If set, then results will be boosted based on the
7043+ # region_code provided.
7044+ # Corresponds to the JSON property `regionCode`
7045+ # @return [String]
7046+ attr_accessor :region_code
7047+
70307048 # The relevance threshold of the search results. Defaults to RelevanceThreshold.
70317049 # HIGH, which means only the most relevant results are shown, and the least
70327050 # number of results are returned. For more information, see [Adjust result size](
@@ -7111,6 +7129,7 @@ def update!(**args)
71117129 @facet_specs = args [ :facet_specs ] if args . key? ( :facet_specs )
71127130 @filter = args [ :filter ] if args . key? ( :filter )
71137131 @labels = args [ :labels ] if args . key? ( :labels )
7132+ @language_code = args [ :language_code ] if args . key? ( :language_code )
71147133 @offset = args [ :offset ] if args . key? ( :offset )
71157134 @order_by = args [ :order_by ] if args . key? ( :order_by )
71167135 @page_categories = args [ :page_categories ] if args . key? ( :page_categories )
@@ -7119,6 +7138,7 @@ def update!(**args)
71197138 @personalization_spec = args [ :personalization_spec ] if args . key? ( :personalization_spec )
71207139 @query = args [ :query ] if args . key? ( :query )
71217140 @query_expansion_spec = args [ :query_expansion_spec ] if args . key? ( :query_expansion_spec )
7141+ @region_code = args [ :region_code ] if args . key? ( :region_code )
71227142 @relevance_threshold = args [ :relevance_threshold ] if args . key? ( :relevance_threshold )
71237143 @search_mode = args [ :search_mode ] if args . key? ( :search_mode )
71247144 @spell_correction_spec = args [ :spell_correction_spec ] if args . key? ( :spell_correction_spec )
@@ -7576,9 +7596,12 @@ def update!(**args)
75767596 class GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec
75777597 include Google ::Apis ::Core ::Hashable
75787598
7579- # This field specifies the tiles which are already clicked in client side. NOTE:
7580- # This field is not being used for filtering search products. Client side should
7581- # also put all the applied tiles in SearchRequest.filter.
7599+ # This optional field specifies the tiles which are already clicked in client
7600+ # side. While the feature works without this field set, particularly for an
7601+ # initial query, it is highly recommended to set this field because it can
7602+ # improve the quality of the search response and removes possible duplicate
7603+ # tiles. NOTE: This field is not being used for filtering search products.
7604+ # Client side should also put all the applied tiles in SearchRequest.filter.
75827605 # Corresponds to the JSON property `appliedTiles`
75837606 # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTile>]
75847607 attr_accessor :applied_tiles
@@ -8528,10 +8551,8 @@ class GoogleCloudRetailV2alphaUserEvent
85288551 # added to cart. * `remove-from-cart`: Products being removed from cart. * `
85298552 # category-page-view`: Special pages such as sale or promotion pages viewed. * `
85308553 # detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
8531- # viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
8532- # not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
8533- # finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
8534- # User viewing a shopping cart.
8554+ # viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product
8555+ # search. * `shopping-cart-page-view`: User viewing a shopping cart.
85358556 # Corresponds to the JSON property `eventType`
85368557 # @return [String]
85378558 attr_accessor :event_type
0 commit comments