Reference documentation and code samples for the Google Cloud Ces V1 Client class Message.
A message within a conversation.
Generated from protobuf message google.cloud.ces.v1.Message
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ role
string
Optional. The role within the conversation, e.g., user, agent.
↳ chunks
↳ event_time
Google\Protobuf\Timestamp
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example .
getRole
Optional. The role within the conversation, e.g., user, agent.
string
setRole
Optional. The role within the conversation, e.g., user, agent.
var
string
$this
getChunks
Optional. Content of the message as a series of chunks.
setChunks
Optional. Content of the message as a series of chunks.
$this
getEventTime
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example .
hasEventTime
clearEventTime
setEventTime
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example .
$this

