public sealed class WriteUserEventRequest : IMessage<WriteUserEventRequest>, IEquatable<WriteUserEventRequest>, IDeepCloneable<WriteUserEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class WriteUserEventRequest.
Required. The parent resource name.
If the write user event action is applied in
[DataStore][google.cloud.discoveryengine.v1.DataStore] level, the format
is:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.
If the write user event action is applied in [Location][] level, for
example, the event with
[Document][google.cloud.discoveryengine.v1.Document] across multiple
[DataStore][google.cloud.discoveryengine.v1.DataStore], the format is:
projects/{project}/locations/{location}.
[[["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\u003eWriteUserEventRequest\u003c/code\u003e class is used to send a request to the Discovery Engine v1 API to write a user event.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing a comprehensive set of functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e, \u003ccode\u003eUserEvent\u003c/code\u003e, and \u003ccode\u003eWriteAsync\u003c/code\u003e, each serving a specific purpose related to the user event data and request handling.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e available, with version 1.6.0 being the latest release, and can be found within the provided documentation.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two constructors: the default \u003ccode\u003eWriteUserEventRequest()\u003c/code\u003e and \u003ccode\u003eWriteUserEventRequest(WriteUserEventRequest other)\u003c/code\u003e which takes another \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]