Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs.
Boost specifications for data stores.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_stores
def data_stores() -> ::Array<::String>
Returns
-
(::Array<::String>) — Optional. Data Stores where the boosting configuration is applied. The
full names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
#data_stores=
def data_stores=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Optional. Data Stores where the boosting configuration is applied. The
full names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
Returns
-
(::Array<::String>) — Optional. Data Stores where the boosting configuration is applied. The
full names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
#spec
def spec() -> ::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec>) — Optional. A list of boosting specifications.
#spec=
def spec=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec>) — Optional. A list of boosting specifications.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec>) — Optional. A list of boosting specifications.