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

A matched query message represents the agent having matched one of the
example queries supplied in context as being applicable to the current
question. It will also contain additional info during the matching process.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #example_query

    def example_query() -> ::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQuery)) --- The query that was matched based on an example query.

### #example_query=

    def example_query=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQuery)) --- The query that was matched based on an example query.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::ExampleQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-ExampleQuery)) --- The query that was matched based on an example query.

### #query_parameter_values

    def query_parameter_values() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1::QueryParameterValues>

**Returns**

- (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1::QueryParameterValues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-QueryParameterValues)\>) --- The extracted values for the query parameters.

### #query_parameter_values=

    def query_parameter_values=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1::QueryParameterValues>

**Parameter**

- **value** (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1::QueryParameterValues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-QueryParameterValues)\>) --- The extracted values for the query parameters.
**Returns**

- (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1::QueryParameterValues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-QueryParameterValues)\>) --- The extracted values for the query parameters.