Google Cloud Dialogflow Cx V3 Client - Class SearchConfig (0.7.0)

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<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<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
Google\Protobuf\Internal\RepeatedField

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<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
Google\Protobuf\Internal\RepeatedField

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<FilterSpecs>
Returns
Type Description
$this