public sealed class CollectUserEventRequest : IMessage<CollectUserEventRequest>, IEquatable<CollectUserEventRequest>, IDeepCloneable<CollectUserEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Recommendations AI v1beta1 API class CollectUserEventRequest.
Optional. The event timestamp in milliseconds. This prevents browser
caching of otherwise identical get requests. The name is abbreviated to
reduce the payload bytes.
Optional. The url including cgi-parameters but excluding the hash fragment.
The URL must be truncated to 1.5K bytes to conservatively be under the 2K
bytes. This is often more useful than the referer url, because many
browsers only send the domain for 3rd 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 used for sending requests to the Recommendations AI v1beta1 API's \u003ccode\u003eCollectUserEvent\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, enabling versatile usage.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eUri\u003c/code\u003e, \u003ccode\u003eUserEvent\u003c/code\u003e, and \u003ccode\u003eEts\u003c/code\u003e, which are crucial for defining the user event and its context, such as the parent event store name and the timestamp.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers versions \u003ccode\u003e2.0.0-beta06\u003c/code\u003e (latest), \u003ccode\u003e2.0.0-beta05\u003c/code\u003e and \u003ccode\u003e1.0.0-beta03\u003c/code\u003e of the API, but refers mostly to the \u003ccode\u003e2.0.0-beta05\u003c/code\u003e version of the \u003ccode\u003eCollectUserEventRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class also have two constructors one default \u003ccode\u003eCollectUserEventRequest()\u003c/code\u003e and another that allows for the creation of the class with other instance of the \u003ccode\u003eCollectUserEventRequest\u003c/code\u003e class as a parameter.\u003c/p\u003e\n"]]],[],null,[]]