# Google Cloud Dialogflow Cx V3 Client - Class SearchConfig (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SearchConfig.

Search configuration for UCS search queries.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.SearchConfig`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ boost_specs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.BoostSpecs>` Optional. Boosting configuration for the datastores. Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined. |
| `↳ filter_specs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.FilterSpecs>` Optional. Filter configuration for the datastores. Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined. |

### getBoostSpecs

Optional. Boosting configuration for the datastores.

Maps from datastore name to their boost configuration. Do not specify more
than one BoostSpecs for each datastore name. If multiple BoostSpecs are
provided for the same datastore name, the behavior is undefined.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.BoostSpecs>` |   |

### setBoostSpecs

Optional. Boosting configuration for the datastores.

Maps from datastore name to their boost configuration. Do not specify more
than one BoostSpecs for each datastore name. If multiple BoostSpecs are
provided for the same datastore name, the behavior is undefined.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.BoostSpecs>` |

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

### getFilterSpecs

Optional. Filter configuration for the datastores.

Maps from datastore name to the filter expression for that datastore. Do
not specify more than one FilterSpecs for each datastore name. If multiple
FilterSpecs are provided for the same datastore name, the behavior is
undefined.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.FilterSpecs>` |   |

### setFilterSpecs

Optional. Filter configuration for the datastores.

Maps from datastore name to the filter expression for that datastore. Do
not specify more than one FilterSpecs for each datastore name. If multiple
FilterSpecs are provided for the same datastore name, the behavior is
undefined.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.FilterSpecs>` |

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