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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent DataStore resource name, such as |
↳ user_event |
Google\Cloud\DiscoveryEngine\V1\UserEvent
Required. User event to write. |
getParent
Required. The parent DataStore resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent DataStore resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUserEvent
Required. User event to write.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1\UserEvent|null |
hasUserEvent
clearUserEvent
setUserEvent
Required. User event to write.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1\UserEvent
|
Returns | |
---|---|
Type | Description |
$this |