Class SearchRequest.Types.BoostSpec (1.4.0)

public sealed class BoostSpec : IMessage<SearchRequest.Types.BoostSpec>, IEquatable<SearchRequest.Types.BoostSpec>, IDeepCloneable<SearchRequest.Types.BoostSpec>, IBufferMessage, IMessage

Boost specification to boost certain items.

Inheritance

Object > SearchRequest.Types.BoostSpec

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

BoostSpec()

public BoostSpec()

BoostSpec(SearchRequest.Types.BoostSpec)

public BoostSpec(SearchRequest.Types.BoostSpec other)
Parameter
NameDescription
otherSearchRequest.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
TypeDescription
RepeatedField<SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec>