public sealed class WriteUserEventRequest : IMessage<WriteUserEventRequest>, IEquatable<WriteUserEventRequest>, IDeepCloneable<WriteUserEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class WriteUserEventRequest.
If set to true, the user event will be written asynchronously after
validation, and the API will respond without waiting for the write.
Therefore, silent failures can occur even if the API returns success. In
case of silent failures, error messages can be found in Stackdriver logs.
[[["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-03-21 UTC."],[[["The latest version of the `WriteUserEventRequest` class in the Retail v2 API is 2.12.0, and previous versions are available, ranging down to version 1.0.0."],["`WriteUserEventRequest` is a class used to request writing a user event, and it inherits from the `object` class, implementing several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class has two constructors, a default one, and a copy constructor that accepts another `WriteUserEventRequest` object as an argument, and it includes properties like `Parent`, `UserEvent`, and `WriteAsync` for handling the request data."],["The `WriteUserEventRequest` class is found within the `Google.Cloud.Retail.V2` namespace and is contained in the `Google.Cloud.Retail.V2.dll` assembly."],["The method `WriteUserEvent` can be written asynchronously, by setting the `WriteAsync` property to true, however, silent failures can occur and will need to be checked in Stackdriver logs."]]],[]]