Google Cloud Retail V2Rule Response
data class GoogleCloudRetailV2RuleResponse(val boostAction: GoogleCloudRetailV2RuleBoostActionResponse, val condition: GoogleCloudRetailV2ConditionResponse, val doNotAssociateAction: GoogleCloudRetailV2RuleDoNotAssociateActionResponse, val filterAction: GoogleCloudRetailV2RuleFilterActionResponse, val ignoreAction: GoogleCloudRetailV2RuleIgnoreActionResponse, val onewaySynonymsAction: GoogleCloudRetailV2RuleOnewaySynonymsActionResponse, val redirectAction: GoogleCloudRetailV2RuleRedirectActionResponse, val replacementAction: GoogleCloudRetailV2RuleReplacementActionResponse, val twowaySynonymsAction: GoogleCloudRetailV2RuleTwowaySynonymsActionResponse)
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.
Constructors
Link copied to clipboard
constructor(boostAction: GoogleCloudRetailV2RuleBoostActionResponse, condition: GoogleCloudRetailV2ConditionResponse, doNotAssociateAction: GoogleCloudRetailV2RuleDoNotAssociateActionResponse, filterAction: GoogleCloudRetailV2RuleFilterActionResponse, ignoreAction: GoogleCloudRetailV2RuleIgnoreActionResponse, onewaySynonymsAction: GoogleCloudRetailV2RuleOnewaySynonymsActionResponse, redirectAction: GoogleCloudRetailV2RuleRedirectActionResponse, replacementAction: GoogleCloudRetailV2RuleReplacementActionResponse, twowaySynonymsAction: GoogleCloudRetailV2RuleTwowaySynonymsActionResponse)
Properties
Link copied to clipboard
A boost action.
Link copied to clipboard
The condition that triggers the rule. If the condition is empty, the rule will always apply.
Link copied to clipboard
Prevents term from being associated with other terms.
Link copied to clipboard
Filters results.
Link copied to clipboard
Ignores specific terms from query during search.
Link copied to clipboard
Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
Link copied to clipboard
Redirects a shopper to a specific page.
Link copied to clipboard
Replaces specific terms in the query.
Link copied to clipboard
Treats a set of terms as synonyms of one another.