userAttributes property

Map<String, GoogleCloudRetailV2StringList>? userAttributes
getter/setter pair

The user attributes that could be used for personalization of search results.

  • Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" } } ]

Optional.

Implementation

core.Map<core.String, GoogleCloudRetailV2StringList>? userAttributes;