Class GoogleCloudRetailV2alphaSearchRequestBoostSpec
Boost specification to boost certain items.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaSearchRequestBoostSpec : IDirectResponseSchema
Properties
ConditionBoostSpecs
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 20.
Declaration
[JsonProperty("conditionBoostSpecs")]
public virtual IList<GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec> ConditionBoostSpecs { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
SkipBoostSpecValidation
Whether to skip boostspec validation. If this field is set to true, invalid BoostSpec.condition_boost_specs will be ignored and valid BoostSpec.condition_boost_specs will still be applied.
Declaration
[JsonProperty("skipBoostSpecValidation")]
public virtual bool? SkipBoostSpecValidation { get; set; }
Property Value
Type | Description |
---|---|
bool? |