# Google Cloud Retail V2 Client - Class RefinedSearch (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class RefinedSearch.

The proposed refined search for intent-refinement/bundled shopping
conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
refined_query from search response will be populated here.

Generated from protobuf message `google.cloud.retail.v2.ConversationalSearchResponse.RefinedSearch`

## Namespace

Google \\ Cloud \\ Retail \\ V2 \\ ConversationalSearchResponse

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ query` | `string` The query to be used for search. |

### getQuery

The query to be used for search.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setQuery

The query to be used for search.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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