Google Cloud Dialogflow V2 Client - Class SearchConfig (1.17.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SearchConfig.

Configuration specific to search queries with data stores.

Generated from protobuf message google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig

Namespace

Google \ Cloud \ Dialogflow \ V2 \ SearchKnowledgeRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ boost_specs array<SearchConfig\BoostSpecs>

Optional. Boost specifications for data stores.

↳ filter_specs array<SearchConfig\FilterSpecs>

Optional. Filter specification for data store queries.

getBoostSpecs

Optional. Boost specifications for data stores.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBoostSpecs

Optional. Boost specifications for data stores.

Parameter
Name Description
var array<SearchConfig\BoostSpecs>
Returns
Type Description
$this

getFilterSpecs

Optional. Filter specification for data store queries.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFilterSpecs

Optional. Filter specification for data store queries.

Parameter
Name Description
var array<SearchConfig\FilterSpecs>
Returns
Type Description
$this