Class WriteUserEventRequest (1.18.0)

WriteUserEventRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for WriteUserEvent method.

Attributes

NameDescription
parent str
Required. The parent catalog resource name, such as projects/1234/locations/global/catalogs/default_catalog.
user_event google.cloud.retail_v2alpha.types.UserEvent
Required. User event to write.
write_async bool
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.