public sealed class AdvancedCompleteQueryRequest.Types.BoostSpec : IMessage<AdvancedCompleteQueryRequest.Types.BoostSpec>, IEquatable<AdvancedCompleteQueryRequest.Types.BoostSpec>, IDeepCloneable<AdvancedCompleteQueryRequest.Types.BoostSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class AdvancedCompleteQueryRequest.Types.BoostSpec.
Specification to boost suggestions based on the condtion of the suggestion.
Implements
IMessageAdvancedCompleteQueryRequestTypesBoostSpec, IEquatableAdvancedCompleteQueryRequestTypesBoostSpec, IDeepCloneableAdvancedCompleteQueryRequestTypesBoostSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
BoostSpec()
public BoostSpec()
BoostSpec(BoostSpec)
public BoostSpec(AdvancedCompleteQueryRequest.Types.BoostSpec other)
Parameter | |
---|---|
Name | Description |
other |
AdvancedCompleteQueryRequestTypesBoostSpec |
Properties
ConditionBoostSpecs
public RepeatedField<AdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAdvancedCompleteQueryRequestTypesBoostSpecTypesConditionBoostSpec |