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

A message produced during schema resolution.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #query

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

**Returns**

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


  Note: The following fields are mutually exclusive: `query`, `result`. 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::SchemaQuery

**Parameter**

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


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

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


  Note: The following fields are mutually exclusive: `query`, `result`. 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::SchemaResult

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::SchemaResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-SchemaResult)) --- The result of a schema resolution query.


  Note: The following fields are mutually exclusive: `result`, `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::SchemaResult

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::SchemaResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-SchemaResult)) --- The result of a schema resolution query.


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

- ([::Google::Cloud::GeminiDataAnalytics::V1::SchemaResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-SchemaResult)) --- The result of a schema resolution query.


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