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"]],[["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\u003eThe latest version of the \u003ccode\u003eCollectUserEventRequest\u003c/code\u003e class is 2.0.0-beta06, used within the Google Cloud Recommendation Engine V1Beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCollectUserEventRequest\u003c/code\u003e is a class used as a request message for the \u003ccode\u003eCollectUserEvent\u003c/code\u003e method, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eEts\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsEventStoreName\u003c/code\u003e, \u003ccode\u003eUri\u003c/code\u003e, and \u003ccode\u003eUserEvent\u003c/code\u003e, each serving specific purposes such as carrying the event timestamp or the URL-encoded user event data.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCollectUserEventRequest\u003c/code\u003e can be instantiated via a default constructor or a constructor that takes another \u003ccode\u003eCollectUserEventRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property is required and represents the name of the parent event store, adhering to a specified format, while \u003ccode\u003eUserEvent\u003c/code\u003e is also required, carrying a URL encoded representation of the user event.\u003c/p\u003e\n"]]],[],null,[]]