Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Message.
A message from an internaction between the user and the system.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.Message
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ user_message
↳ system_message
↳ timestamp
Google\Protobuf\Timestamp
Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
↳ message_id
string
Optional. unique id of the message in the conversation for persistence.
getUserMessage
A message from the user that is interacting with the system.
hasUserMessage
setUserMessage
A message from the user that is interacting with the system.
$this
getSystemMessage
A message from the system in response to the user.
hasSystemMessage
setSystemMessage
A message from the system in response to the user.
$this
getTimestamp
Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
hasTimestamp
clearTimestamp
setTimestamp
Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
$this
getMessageId
Optional. unique id of the message in the conversation for persistence.
string
setMessageId
Optional. unique id of the message in the conversation for persistence.
var
string
$this
getKind
string