Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::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 multiturn conversations with the system.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#analysis
def analysis() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisMessage) — A message produced during analysis.
Note: The following fields are mutually exclusive:
analysis
,text
,schema
,data
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#analysis=
def analysis=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisMessage) — A message produced during analysis.
Note: The following fields are mutually exclusive:
analysis
,text
,schema
,data
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisMessage) — A message produced during analysis.
Note: The following fields are mutually exclusive:
analysis
,text
,schema
,data
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#chart
def chart() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ChartMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::ChartMessage) — A message produced during chart generation.
Note: The following fields are mutually exclusive:
chart
,text
,schema
,data
,analysis
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#chart=
def chart=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ChartMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::ChartMessage) — A message produced during chart generation.
Note: The following fields are mutually exclusive:
chart
,text
,schema
,data
,analysis
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::ChartMessage) — A message produced during chart generation.
Note: The following fields are mutually exclusive:
chart
,text
,schema
,data
,analysis
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#data
def data() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DataMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::DataMessage) — A message produced during data retrieval.
Note: The following fields are mutually exclusive:
data
,text
,schema
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#data=
def data=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DataMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::DataMessage) — A message produced during data retrieval.
Note: The following fields are mutually exclusive:
data
,text
,schema
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::DataMessage) — A message produced during data retrieval.
Note: The following fields are mutually exclusive:
data
,text
,schema
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#error
def error() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ErrorMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::ErrorMessage) — An error message.
Note: The following fields are mutually exclusive:
error
,text
,schema
,data
,analysis
,chart
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#error=
def error=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ErrorMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::ErrorMessage) — An error message.
Note: The following fields are mutually exclusive:
error
,text
,schema
,data
,analysis
,chart
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::ErrorMessage) — An error message.
Note: The following fields are mutually exclusive:
error
,text
,schema
,data
,analysis
,chart
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#group_id
def group_id() -> ::Integer
- (::Integer) — 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.
#group_id=
def group_id=(value) -> ::Integer
- value (::Integer) — 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.
- (::Integer) — 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.
#schema
def schema() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SchemaMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::SchemaMessage) — A message produced during schema resolution.
Note: The following fields are mutually exclusive:
schema
,text
,data
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#schema=
def schema=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SchemaMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::SchemaMessage) — A message produced during schema resolution.
Note: The following fields are mutually exclusive:
schema
,text
,data
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::SchemaMessage) — A message produced during schema resolution.
Note: The following fields are mutually exclusive:
schema
,text
,data
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text
def text() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage) — A direct natural language response to the user message.
Note: The following fields are mutually exclusive:
text
,schema
,data
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text=
def text=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage) — A direct natural language response to the user message.
Note: The following fields are mutually exclusive:
text
,schema
,data
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage) — A direct natural language response to the user message.
Note: The following fields are mutually exclusive:
text
,schema
,data
,analysis
,chart
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.