public sealed class WriteUserEventRequest : IMessage<WriteUserEventRequest>, IEquatable<WriteUserEventRequest>, IDeepCloneable<WriteUserEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class WriteUserEventRequest.
Required. The parent resource name.
If the write user event action is applied in
[DataStore][google.cloud.discoveryengine.v1beta.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.v1beta.Document] across multiple
[DataStore][google.cloud.discoveryengine.v1beta.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 part of the Discovery Engine v1beta API, specifically in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used as a request message for the \u003ccode\u003eWriteUserEvent\u003c/code\u003e method, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class constructor, \u003ccode\u003eWriteUserEventRequest()\u003c/code\u003e, is available with an option to clone an existing request via \u003ccode\u003eWriteUserEventRequest(WriteUserEventRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties like \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e, \u003ccode\u003eUserEvent\u003c/code\u003e, and \u003ccode\u003eWriteAsync\u003c/code\u003e, allowing users to specify the resource name, the user event details, and whether the event should be written asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e1.0.0-beta18\u003c/code\u003e in the provided documents.\u003c/p\u003e\n"]]],[],null,[]]