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\u003eThis page provides reference documentation for the \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWriteUserEventRequest\u003c/code\u003e is used to construct request messages for the \u003ccode\u003eWriteUserEvent\u003c/code\u003e method, enabling the sending of user event data.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eParent\u003c/code\u003e, which is a required string specifying the parent resource name, \u003ccode\u003eUserEvent\u003c/code\u003e, the required event to write, and \u003ccode\u003eWriteAsync\u003c/code\u003e, which if set to true will write events asychronously.\u003c/p\u003e\n"],["\u003cp\u003eIt is possible to build a WriteUserEventRequest object with no parameters, or by passing another WriteUserEventRequest object, copying it.\u003c/p\u003e\n"]]],[],null,[]]