GoogleCloudRetailV2alphaRuleReplacementActionResponse class

Replaces a term in the query. Multiple replacement candidates can be specified. All query_terms will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

Constructors

GoogleCloudRetailV2alphaRuleReplacementActionResponse({required Input<List<String>> queryTerms, required Input<String> replacementTerm, required Input<String> term})
Creates a new GoogleCloudRetailV2alphaRuleReplacementActionResponse. queryTerms Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. replacementTerm Term that will be used for replacement. term Will be deprecated = true post migration;
const
GoogleCloudRetailV2alphaRuleReplacementActionResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
queryTerms → Input<List<String>>
Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
final
replacementTerm → Input<String>
Term that will be used for replacement.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
term → Input<String>
Will be deprecated = true post migration;
final

Methods

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

Operators

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