Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::BoostSpec.
Specification to boost suggestions based on the condtion of the suggestion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#condition_boost_specs
def condition_boost_specs() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::BoostSpec::ConditionBoostSpec>
Returns
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::BoostSpec::ConditionBoostSpec>) — Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
#condition_boost_specs=
def condition_boost_specs=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::BoostSpec::ConditionBoostSpec>
Parameter
-
value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::BoostSpec::ConditionBoostSpec>) — Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
Returns
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryRequest::BoostSpec::ConditionBoostSpec>) — Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.