Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class SystemMessage.
A message from the system in response to the user. This message can also be a message from the user as historical context for multi-turn conversations with the system.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.SystemMessage
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
↳ schema
↳ data
↳ analysis
↳ chart
↳ error
↳ example_queries
↳ clarification
ClarificationMessage
Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead. A message containing clarification questions.
↳ group_id
int
Identifies the group that the event belongs to. Similar events are deemed to be logically relevant to each other and should be shown together in the UI.
↳ citation
getText
A direct natural language response to the user message.
hasText
setText
A direct natural language response to the user message.
$this
getSchema
A message produced during schema resolution.
hasSchema
setSchema
A message produced during schema resolution.
$this
getData
A message produced during data retrieval.
hasData
setData
A message produced during data retrieval.
$this
getAnalysis
A message produced during analysis.
hasAnalysis
setAnalysis
A message produced during analysis.
$this
getChart
A message produced during chart generation.
hasChart
setChart
A message produced during chart generation.
$this
getError
An error message.
hasError
setError
An error message.
$this
getExampleQueries
Optional. A message containing example queries.
hasExampleQueries
setExampleQueries
Optional. A message containing example queries.
$this
getClarification
Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead. A message containing clarification questions.
ClarificationMessage
|null
hasClarification
setClarification
Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead. A message containing clarification questions.
var
ClarificationMessage
$this
getGroupId
Identifies the group that the event belongs to. Similar events are deemed to be logically relevant to each other and should be shown together in the UI.
int
hasGroupId
clearGroupId
setGroupId
Identifies the group that the event belongs to. Similar events are deemed to be logically relevant to each other and should be shown together in the UI.
var
int
$this
getCitation
Output only. Citation information for the system message.
hasCitation
clearCitation
setCitation
Output only. Citation information for the system message.
$this
getKind
string

