The field must be a UTF-8 encoded string with a length limit of 1,000
characters. Otherwise, an INVALID_ARGUMENT error is returned.
This should not be set when using the client side event reporting with
GTM or JavaScript tag in
[UserEventService.CollectUserEvent][google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent]
or if
[UserEvent.direct_user_request][google.cloud.discoveryengine.v1.UserEvent.direct_user_request]
is set.
Highly recommended for logged-in users. Unique identifier for logged-in
user, such as a user name. Don't set for anonymous users.
Always use a hashed value for this ID.
Don't set the field to the same fixed ID for different users. This mixes
the event history of those users together, which results in degraded
model quality.
The field must be a UTF-8 encoded string with a length limit of 128
characters. Otherwise, an INVALID_ARGUMENT error is returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUserInfo\u003c/code\u003e class in the Google Cloud Discovery Engine v1 API provides a way to represent information about an end user.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eUserInfo\u003c/code\u003e class is 1.6.0, with several prior versions also accessible, including 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserInfo\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUserInfo\u003c/code\u003e objects can be created using a default constructor or by copying an existing \u003ccode\u003eUserInfo\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserInfo\u003c/code\u003e class includes properties for \u003ccode\u003eUserAgent\u003c/code\u003e, which represents the user agent from the HTTP header, and \u003ccode\u003eUserId\u003c/code\u003e, a unique identifier for the user, which should be hashed and is recommended for logged-in users.\u003c/p\u003e\n"]]],[],null,[]]