Show / Hide Table of Contents

Class GoogleCloudRetailV2alphaRule

A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

Inheritance
object
GoogleCloudRetailV2alphaRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaRule : IDirectResponseSchema

Properties

BoostAction

A boost action.

Declaration
[JsonProperty("boostAction")]
public virtual GoogleCloudRetailV2alphaRuleBoostAction BoostAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleBoostAction

Condition

Required. The condition that triggers the rule. If the condition is empty, the rule will always apply.

Declaration
[JsonProperty("condition")]
public virtual GoogleCloudRetailV2alphaCondition Condition { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaCondition

DoNotAssociateAction

Prevents term from being associated with other terms.

Declaration
[JsonProperty("doNotAssociateAction")]
public virtual GoogleCloudRetailV2alphaRuleDoNotAssociateAction DoNotAssociateAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleDoNotAssociateAction

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FilterAction

Filters results.

Declaration
[JsonProperty("filterAction")]
public virtual GoogleCloudRetailV2alphaRuleFilterAction FilterAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleFilterAction

ForceReturnFacetAction

Force returns an attribute as a facet in the request.

Declaration
[JsonProperty("forceReturnFacetAction")]
public virtual GoogleCloudRetailV2alphaRuleForceReturnFacetAction ForceReturnFacetAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleForceReturnFacetAction

IgnoreAction

Ignores specific terms from query during search.

Declaration
[JsonProperty("ignoreAction")]
public virtual GoogleCloudRetailV2alphaRuleIgnoreAction IgnoreAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleIgnoreAction

OnewaySynonymsAction

Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.

Declaration
[JsonProperty("onewaySynonymsAction")]
public virtual GoogleCloudRetailV2alphaRuleOnewaySynonymsAction OnewaySynonymsAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleOnewaySynonymsAction

PinAction

Pins one or more specified products to a specific position in the results.

Declaration
[JsonProperty("pinAction")]
public virtual GoogleCloudRetailV2alphaRulePinAction PinAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRulePinAction

RedirectAction

Redirects a shopper to a specific page.

Declaration
[JsonProperty("redirectAction")]
public virtual GoogleCloudRetailV2alphaRuleRedirectAction RedirectAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleRedirectAction

RemoveFacetAction

Remove an attribute as a facet in the request (if present).

Declaration
[JsonProperty("removeFacetAction")]
public virtual GoogleCloudRetailV2alphaRuleRemoveFacetAction RemoveFacetAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleRemoveFacetAction

ReplacementAction

Replaces specific terms in the query.

Declaration
[JsonProperty("replacementAction")]
public virtual GoogleCloudRetailV2alphaRuleReplacementAction ReplacementAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleReplacementAction

TwowaySynonymsAction

Treats a set of terms as synonyms of one another.

Declaration
[JsonProperty("twowaySynonymsAction")]
public virtual GoogleCloudRetailV2alphaRuleTwowaySynonymsAction TwowaySynonymsAction { get; set; }
Property Value
Type Description
GoogleCloudRetailV2alphaRuleTwowaySynonymsAction

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX