Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Conversation.
External conversation proto definition.
Generated from protobuf message google.cloud.discoveryengine.v1.Conversation
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*
or projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*
.
↳ state
int
The state of the Conversation.
↳ user_pseudo_id
string
A unique identifier for tracking users.
↳ messages
↳ start_time
↳ end_time
getName
Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*
or projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*
.
string
setName
Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*
or projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*
.
var
string
$this
getState
The state of the Conversation.
int
setState
The state of the Conversation.
var
int
$this
getUserPseudoId
A unique identifier for tracking users.
string
setUserPseudoId
A unique identifier for tracking users.
var
string
$this
getMessages
Conversation messages.
setMessages
Conversation messages.
$this
getStartTime
Output only. The time the conversation started.
hasStartTime
clearStartTime
setStartTime
Output only. The time the conversation started.
$this
getEndTime
Output only. The time the conversation finished.
hasEndTime
clearEndTime
setEndTime
Output only. The time the conversation finished.
$this