GoogleCloudRetailV2Rule class

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.

Properties

boostAction ↔ GoogleCloudRetailV2RuleBoostAction?
A boost action.
getter/setter pair
condition ↔ GoogleCloudRetailV2Condition?
The condition that triggers the rule.
getter/setter pair
doNotAssociateAction ↔ GoogleCloudRetailV2RuleDoNotAssociateAction?
Prevents term from being associated with other terms.
getter/setter pair
filterAction ↔ GoogleCloudRetailV2RuleFilterAction?
Filters results.
getter/setter pair
forceReturnFacetAction ↔ GoogleCloudRetailV2RuleForceReturnFacetAction?
Force returns an attribute as a facet in the request.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
ignoreAction ↔ GoogleCloudRetailV2RuleIgnoreAction?
Ignores specific terms from query during search.
getter/setter pair
onewaySynonymsAction ↔ GoogleCloudRetailV2RuleOnewaySynonymsAction?
Treats specific term as a synonym with a group of terms.
getter/setter pair
pinAction ↔ GoogleCloudRetailV2RulePinAction?
Pins one or more specified products to a specific position in the results.
getter/setter pair
redirectAction ↔ GoogleCloudRetailV2RuleRedirectAction?
Redirects a shopper to a specific page.
getter/setter pair
removeFacetAction ↔ GoogleCloudRetailV2RuleRemoveFacetAction?
Remove an attribute as a facet in the request (if present).
getter/setter pair
replacementAction ↔ GoogleCloudRetailV2RuleReplacementAction?
Replaces specific terms in the query.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
twowaySynonymsAction ↔ GoogleCloudRetailV2RuleTwowaySynonymsAction?
Treats a set of terms as synonyms of one another.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited