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.v1beta.UserEventService.CollectUserEvent]
or if
[UserEvent.direct_user_request][google.cloud.discoveryengine.v1beta.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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eUserInfo\u003c/code\u003e class within the Discovery Engine v1beta API, part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserInfo\u003c/code\u003e class is designed to capture details about an end user, and it implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and one to create an instance by copying from another \u003ccode\u003eUserInfo\u003c/code\u003e object, and it includes two properties, \u003ccode\u003eUserAgent\u003c/code\u003e and \u003ccode\u003eUserId\u003c/code\u003e, for storing user-specific data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserAgent\u003c/code\u003e property represents the user agent string from the HTTP header, limited to 1,000 characters, while the \u003ccode\u003eUserId\u003c/code\u003e property is for a unique identifier of a logged-in user, limited to 128 characters, and should be hashed.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation includes implementation details such as inherited members from the \u003ccode\u003eobject\u003c/code\u003e base class, links to relevant documentation for each method and the current namespace, as well as the relevant assembly.\u003c/p\u003e\n"]]],[],null,[]]