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 \ DataStoreToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_stores |
array
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\Internal\RepeatedField |
|
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\Internal\RepeatedField |
|
setSpec
Required. A list of boosting specifications.
| Parameter | |
|---|---|
| Name | Description |
var |
array<BoostSpec>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|