Class WriteUserEventRequest (0.12.2)

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

Attributes

Name Description
parent str
Required. The parent resource name. If the write user event action is applied in 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 across multiple DataStore, the format is: projects/{project}/locations/{location}.
user_event google.cloud.discoveryengine_v1.types.UserEvent
Required. User event to write. This field is a member of oneof_ _user_event.
write_async bool
If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.