# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::DataMessage (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::DataMessage.

A message produced during data retrieval.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #big_query_job

    def big_query_job() -> ::Google::Cloud::GeminiDataAnalytics::V1::BigQueryJob

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::BigQueryJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-BigQueryJob)) --- A BigQuery job executed by the system to retrieve data.


  Note: The following fields are mutually exclusive: `big_query_job`, `query`, `generated_sql`, `result`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #big_query_job=

    def big_query_job=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::BigQueryJob

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::BigQueryJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-BigQueryJob)) --- A BigQuery job executed by the system to retrieve data.


  Note: The following fields are mutually exclusive: `big_query_job`, `query`, `generated_sql`, `result`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::BigQueryJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-BigQueryJob)) --- A BigQuery job executed by the system to retrieve data.


  Note: The following fields are mutually exclusive: `big_query_job`, `query`, `generated_sql`, `result`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #generated_sql

    def generated_sql() -> ::String

**Returns**

- (::String) --- SQL generated by the system to retrieve data.

  Note: The following fields are mutually exclusive: `generated_sql`, `query`, `result`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #generated_sql=

    def generated_sql=(value) -> ::String

**Parameter**

- **value** (::String) --- SQL generated by the system to retrieve data.


  Note: The following fields are mutually exclusive: `generated_sql`, `query`, `result`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- SQL generated by the system to retrieve data.

  Note: The following fields are mutually exclusive: `generated_sql`, `query`, `result`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #matched_query

    def matched_query() -> ::Google::Cloud::GeminiDataAnalytics::V1::MatchedQuery

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::MatchedQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-MatchedQuery)) --- A pre-existing query that was matched to retrieve data.


  Note: The following fields are mutually exclusive: `matched_query`, `query`, `generated_sql`, `result`, `big_query_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #matched_query=

    def matched_query=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::MatchedQuery

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::MatchedQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-MatchedQuery)) --- A pre-existing query that was matched to retrieve data.


  Note: The following fields are mutually exclusive: `matched_query`, `query`, `generated_sql`, `result`, `big_query_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::MatchedQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-MatchedQuery)) --- A pre-existing query that was matched to retrieve data.


  Note: The following fields are mutually exclusive: `matched_query`, `query`, `generated_sql`, `result`, `big_query_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #query

    def query() -> ::Google::Cloud::GeminiDataAnalytics::V1::DataQuery

**Returns**

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


  Note: The following fields are mutually exclusive: `query`, `generated_sql`, `result`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #query=

    def query=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::DataQuery

**Parameter**

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


  Note: The following fields are mutually exclusive: `query`, `generated_sql`, `result`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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


  Note: The following fields are mutually exclusive: `query`, `generated_sql`, `result`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #result

    def result() -> ::Google::Cloud::GeminiDataAnalytics::V1::DataResult

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::DataResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-DataResult)) --- Retrieved data.


  Note: The following fields are mutually exclusive: `result`, `query`, `generated_sql`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #result=

    def result=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::DataResult

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::DataResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-DataResult)) --- Retrieved data.


  Note: The following fields are mutually exclusive: `result`, `query`, `generated_sql`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::DataResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-DataResult)) --- Retrieved data.


  Note: The following fields are mutually exclusive: `result`, `query`, `generated_sql`, `big_query_job`, `matched_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.