public sealed class BoostSpec : IMessage<SearchRequest.Types.BoostSpec>, IEquatable<SearchRequest.Types.BoostSpec>, IDeepCloneable<SearchRequest.Types.BoostSpec>, IBufferMessage, IMessage
Boost specification to boost certain items.
Implements
IMessage<SearchRequest.Types.BoostSpec>, IEquatable<SearchRequest.Types.BoostSpec>, IDeepCloneable<SearchRequest.Types.BoostSpec>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
BoostSpec()
public BoostSpec()
BoostSpec(SearchRequest.Types.BoostSpec)
public BoostSpec(SearchRequest.Types.BoostSpec other)
Parameter | |
---|---|
Name | Description |
other | SearchRequest.Types.BoostSpec |
Properties
ConditionBoostSpecs
public RepeatedField<SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.
Property Value | |
---|---|
Type | Description |
RepeatedField<SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec> |