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][google.cloud.location.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 latest version of the \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e class is 1.6.0, part of the Google.Cloud.DiscoveryEngine.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is a request message used for the \u003ccode\u003eWriteUserEvent\u003c/code\u003e method within the Discovery Engine v1 API, allowing for the writing of user event data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eParent\u003c/code\u003e (string), \u003ccode\u003eParentAsDataStoreName\u003c/code\u003e (DataStoreName), \u003ccode\u003eUserEvent\u003c/code\u003e (UserEvent), and \u003ccode\u003eWriteAsync\u003c/code\u003e (bool) for managing data store locations and asynchronous writing of user events.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e class has two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003eWriteUserEventRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]