Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::SystemMessage (v0.1.0)

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
Returns

#analysis=

def analysis=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisMessage
Parameter
Returns

#chart

def chart() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ChartMessage
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#error=

def error=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ErrorMessage
Parameter
Returns

#group_id

def group_id() -> ::Integer
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.