public sealed class CollectUserEventRequest : IMessage<CollectUserEventRequest>, IEquatable<CollectUserEventRequest>, IDeepCloneable<CollectUserEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CollectUserEventRequest.
The event timestamp in milliseconds. This prevents browser caching of
otherwise identical get requests. The name is abbreviated to reduce the
payload bytes.
The URL including cgi-parameters but excluding the hash fragment with a
length limit of 5,000 characters. This is often more useful than the
referer URL, because many browsers only send the domain for third-party
requests.
[[["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\u003eCollectUserEventRequest\u003c/code\u003e class is a request message for the \u003ccode\u003eCollectUserEvent\u003c/code\u003e method in the Discovery Engine v1 API, which is used for collecting user event data.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eUri\u003c/code\u003e, \u003ccode\u003eUserEvent\u003c/code\u003e, and \u003ccode\u003eEts\u003c/code\u003e, which represent the data store resource name, the URL of the event, the user event data, and the event timestamp, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCollectUserEventRequest\u003c/code\u003e class has both default and copy constructors available for creating instances, and there are multiple versions documented, ranging from 1.0.0-beta06 to the latest 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are also \u003ccode\u003eHasEts\u003c/code\u003e and \u003ccode\u003eHasUri\u003c/code\u003e boolean properties that indicate whether the "ets" and "uri" fields are set, in addition to a \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e property that offers a \u003ccode\u003eDataStoreName\u003c/code\u003e-typed view of the parent resource name.\u003c/p\u003e\n"]]],[],null,[]]