0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class 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.

Generated from protobuf message `google.cloud.geminidataanalytics.v1.MatchedQuery`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ example_query` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.ExampleQuery` The query that was matched based on an example query. |
| `↳ query_parameter_values` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.QueryParameterValues>` The extracted values for the query parameters. |

### getExampleQuery

The query that was matched based on an example query.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.ExampleQuery|null` |   |

### hasExampleQuery

### clearExampleQuery

### setExampleQuery

The query that was matched based on an example query.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.ExampleQuery` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getQueryParameterValues

The extracted values for the query parameters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.QueryParameterValues>` |   |

### setQueryParameterValues

The extracted values for the query parameters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.QueryParameterValues>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |