0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class BoostSpecs.

Boost specifications to boost certain documents.

For more information, please refer to
<https://cloud.google.com/generative-ai-app-builder/docs/boosting>.

Generated from protobuf message `google.cloud.ces.v1.DataStoreTool.BoostSpecs`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ DataStoreTool

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_stores` | `string[]` Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}. |
| `↳ spec` | `array<BoostSpec>` Required. A list of boosting specifications. |

### getDataStores

Required. The Data Store where the boosting configuration is applied.

Full resource name of DataStore, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setDataStores

Required. The Data Store where the boosting configuration is applied.

Full resource name of DataStore, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

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

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

### getSpec

Required. A list of boosting specifications.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<BoostSpec>` |   |

### setSpec

Required. A list of boosting specifications.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<BoostSpec>` |

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