# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::SystemMessage (v0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #analysis

    def analysis() -> ::Google::Cloud::GeminiDataAnalytics::V1::AnalysisMessage

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisMessage)) --- A message produced during analysis.


  Note: The following fields are mutually exclusive: `analysis`, `text`, `schema`, `data`, `chart`, `error`, `example_queries`. 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::V1::AnalysisMessage

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisMessage)) --- A message produced during analysis.


  Note: The following fields are mutually exclusive: `analysis`, `text`, `schema`, `data`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisMessage)) --- A message produced during analysis.


  Note: The following fields are mutually exclusive: `analysis`, `text`, `schema`, `data`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #chart

    def chart() -> ::Google::Cloud::GeminiDataAnalytics::V1::ChartMessage

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ChartMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ChartMessage)) --- A message produced during chart generation.


  Note: The following fields are mutually exclusive: `chart`, `text`, `schema`, `data`, `analysis`, `error`, `example_queries`. 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::V1::ChartMessage

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::ChartMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ChartMessage)) --- A message produced during chart generation.


  Note: The following fields are mutually exclusive: `chart`, `text`, `schema`, `data`, `analysis`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ChartMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ChartMessage)) --- A message produced during chart generation.


  Note: The following fields are mutually exclusive: `chart`, `text`, `schema`, `data`, `analysis`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #citation

    def citation() -> ::Google::Cloud::GeminiDataAnalytics::V1::Citation

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::Citation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-Citation)) --- Output only. Citation information for the system message.

### #data

    def data() -> ::Google::Cloud::GeminiDataAnalytics::V1::DataMessage

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::DataMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-DataMessage)) --- A message produced during data retrieval.


  Note: The following fields are mutually exclusive: `data`, `text`, `schema`, `analysis`, `chart`, `error`, `example_queries`. 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::V1::DataMessage

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::DataMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-DataMessage)) --- A message produced during data retrieval.


  Note: The following fields are mutually exclusive: `data`, `text`, `schema`, `analysis`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::DataMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-DataMessage)) --- A message produced during data retrieval.


  Note: The following fields are mutually exclusive: `data`, `text`, `schema`, `analysis`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #error

    def error() -> ::Google::Cloud::GeminiDataAnalytics::V1::ErrorMessage

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ErrorMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ErrorMessage)) --- An error message.


  Note: The following fields are mutually exclusive: `error`, `text`, `schema`, `data`, `analysis`, `chart`, `example_queries`. 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::V1::ErrorMessage

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::ErrorMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ErrorMessage)) --- An error message.


  Note: The following fields are mutually exclusive: `error`, `text`, `schema`, `data`, `analysis`, `chart`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ErrorMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ErrorMessage)) --- An error message.


  Note: The following fields are mutually exclusive: `error`, `text`, `schema`, `data`, `analysis`, `chart`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #example_queries

    def example_queries() -> ::Google::Cloud::GeminiDataAnalytics::V1::ExampleQueries

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ExampleQueries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQueries)) --- Optional. A message containing example queries.


  Note: The following fields are mutually exclusive: `example_queries`, `text`, `schema`, `data`, `analysis`, `chart`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #example_queries=

    def example_queries=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::ExampleQueries

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::ExampleQueries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQueries)) --- Optional. A message containing example queries.


  Note: The following fields are mutually exclusive: `example_queries`, `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::V1::ExampleQueries](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQueries)) --- Optional. A message containing example queries.


  Note: The following fields are mutually exclusive: `example_queries`, `text`, `schema`, `data`, `analysis`, `chart`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #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::V1::SchemaMessage

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::SchemaMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-SchemaMessage)) --- A message produced during schema resolution.


  Note: The following fields are mutually exclusive: `schema`, `text`, `data`, `analysis`, `chart`, `error`, `example_queries`. 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::V1::SchemaMessage

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::SchemaMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-SchemaMessage)) --- A message produced during schema resolution.


  Note: The following fields are mutually exclusive: `schema`, `text`, `data`, `analysis`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::SchemaMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-SchemaMessage)) --- A message produced during schema resolution.


  Note: The following fields are mutually exclusive: `schema`, `text`, `data`, `analysis`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #text

    def text() -> ::Google::Cloud::GeminiDataAnalytics::V1::TextMessage

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::TextMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-TextMessage)) --- A direct natural language response to the user message.


  Note: The following fields are mutually exclusive: `text`, `schema`, `data`, `analysis`, `chart`, `error`, `example_queries`. 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::V1::TextMessage

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::TextMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-TextMessage)) --- A direct natural language response to the user message.


  Note: The following fields are mutually exclusive: `text`, `schema`, `data`, `analysis`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::TextMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-TextMessage)) --- A direct natural language response to the user message.


  Note: The following fields are mutually exclusive: `text`, `schema`, `data`, `analysis`, `chart`, `error`, `example_queries`. If a field in that set is populated, all other fields in the set will automatically be cleared.