@@ -1061,11 +1061,11 @@ class GoogleCloudRetailV2alphaPredictRequest
10611061 # blocks all prediction results. * `priceRerankLevel`: String. Default empty. If
10621062 # set to be non-empty, then it needs to be one of `'no-price-reranking', 'low-
10631063 # price-reranking', 'medium-price-reranking', 'high-price-reranking'`. This
1064- # gives request level control and adjust prediction results based on product
1064+ # gives request- level control and adjusts prediction results based on product
10651065 # price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
10661066 # it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
1067- # high-diversity', 'auto-diversity'`. This gives request level control and
1068- # adjust prediction results based on product category.
1067+ # high-diversity', 'auto-diversity'`. This gives request- level control and
1068+ # adjusts prediction results based on product category.
10691069 # Corresponds to the JSON property `params`
10701070 # @return [Hash<String,Object>]
10711071 attr_accessor :params
@@ -1945,21 +1945,23 @@ class GoogleCloudRetailV2alphaUserInfo
19451945 attr_accessor :direct_user_request
19461946 alias_method :direct_user_request? , :direct_user_request
19471947
1948- # The end user's IP address. This field is used to extract location information
1949- # for personalization. This field must be either an IPv4 address (e.g. "104.133.
1950- # 9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
1948+ # The end user's IP address. Required for getting SearchRespons.
1949+ # sponsored_results. This field is used to extract location information for
1950+ # personalization. This field must be either an IPv4 address (e.g. "104.133.9.80"
1951+ # ) or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
19511952 # Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when
19521953 # using the JavaScript tag in UserEventService.CollectUserEvent or if
19531954 # direct_user_request is set.
19541955 # Corresponds to the JSON property `ipAddress`
19551956 # @return [String]
19561957 attr_accessor :ip_address
19571958
1958- # User agent as included in the HTTP header. The field must be a UTF-8 encoded
1959- # string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT
1960- # error is returned. This should not be set when using the client side event
1961- # reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or
1962- # if direct_user_request is set.
1959+ # User agent as included in the HTTP header. Required for getting SearchRespons.
1960+ # sponsored_results. The field must be a UTF-8 encoded string with a length
1961+ # limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
1962+ # This should not be set when using the client side event reporting with GTM or
1963+ # JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request
1964+ # is set.
19631965 # Corresponds to the JSON property `userAgent`
19641966 # @return [String]
19651967 attr_accessor :user_agent
0 commit comments