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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation provides reference information for the `UserInfo` class within the Google Cloud Discovery Engine v1 API, which is used to represent end-user information."],["The `UserInfo` class has several versions available, with 1.6.0 being the latest, and it inherits from the `object` class and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["The `UserInfo` class has two constructors: a default constructor `UserInfo()` and a copy constructor `UserInfo(UserInfo other)`, allowing for object creation and duplication."],["The class contains two key properties: `UserAgent`, representing the user agent string, and `UserId`, a unique identifier for logged-in users, which should always be a hashed value and not set for anonymous users."],["The `UserInfo` class properties `UserAgent` and `UserId` are validated for string lengths of 1000 and 128 characters, respectively, or an `INVALID_ARGUMENT` error will be returned."]]],[]]