Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class WriteUserEventRequest.
Request message for WriteUserEvent method.
Generated from protobuf message google.cloud.discoveryengine.v1.WriteUserEventRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
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
↳ write_async
bool
If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.
getParent
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}
.
string
setParent
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}
.
var
string
$this
getUserEvent
Required. User event to write.
hasUserEvent
clearUserEvent
setUserEvent
Required. User event to write.
$this
getWriteAsync
If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.
bool
setWriteAsync
If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.
var
bool
$this