@@ -2826,6 +2826,21 @@ class GoogleCloudRetailV2alphaConversationalSearchRequest
28262826 # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
28272827 attr_accessor :user_info
28282828
2829+ # Optional. The user labels applied to a resource must meet the following
2830+ # requirements: * Each resource can have multiple labels, up to a maximum of 64.
2831+ # * Each label must be a key-value pair. * Keys have a minimum length of 1
2832+ # character and a maximum length of 63 characters and cannot be empty. Values
2833+ # can be empty and have a maximum length of 63 characters. * Keys and values can
2834+ # contain only lowercase letters, numeric characters, underscores, and dashes.
2835+ # All characters must use UTF-8 encoding, and international characters are
2836+ # allowed. * The key portion of a label must be unique. However, you can use the
2837+ # same key with multiple resources. * Keys must start with a lowercase letter or
2838+ # international character. See [Google Cloud Document](https://cloud.google.com/
2839+ # resource-manager/docs/creating-managing-labels#requirements) for more details.
2840+ # Corresponds to the JSON property `userLabels`
2841+ # @return [Hash<String,String>]
2842+ attr_accessor :user_labels
2843+
28292844 # Required. A unique identifier for tracking visitors. For example, this could
28302845 # be implemented with an HTTP cookie, which should be able to uniquely identify
28312846 # a visitor on a single device. This unique identifier should not change if the
@@ -2849,6 +2864,7 @@ def update!(**args)
28492864 @query = args [ :query ] if args . key? ( :query )
28502865 @search_params = args [ :search_params ] if args . key? ( :search_params )
28512866 @user_info = args [ :user_info ] if args . key? ( :user_info )
2867+ @user_labels = args [ :user_labels ] if args . key? ( :user_labels )
28522868 @visitor_id = args [ :visitor_id ] if args . key? ( :visitor_id )
28532869 end
28542870 end
@@ -7328,6 +7344,11 @@ class GoogleCloudRetailV2alphaSearchRequest
73287344 # @return [String]
73297345 attr_accessor :entity
73307346
7347+ # Optional. An ID for the experiment group this search belongs to.
7348+ # Corresponds to the JSON property `experimentId`
7349+ # @return [String]
7350+ attr_accessor :experiment_id
7351+
73317352 # Facet specifications for faceted search. If empty, no facets are returned. A
73327353 # maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is
73337354 # returned.
@@ -7535,6 +7556,7 @@ def update!(**args)
75357556 @conversational_search_spec = args [ :conversational_search_spec ] if args . key? ( :conversational_search_spec )
75367557 @dynamic_facet_spec = args [ :dynamic_facet_spec ] if args . key? ( :dynamic_facet_spec )
75377558 @entity = args [ :entity ] if args . key? ( :entity )
7559+ @experiment_id = args [ :experiment_id ] if args . key? ( :experiment_id )
75387560 @facet_specs = args [ :facet_specs ] if args . key? ( :facet_specs )
75397561 @filter = args [ :filter ] if args . key? ( :filter )
75407562 @labels = args [ :labels ] if args . key? ( :labels )
0 commit comments