GoogleCloudRetailV2RuleOnewaySynonymsAction class
Maps a set of terms to a set of synonyms.
Set of synonyms will be treated as synonyms of each query term only.
query_terms
will not be treated as synonyms of each other. Example:
"sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of
"sneakers".
Constructors
-
GoogleCloudRetailV2RuleOnewaySynonymsAction({List<
String> ? onewayTerms, List<String> ? queryTerms, List<String> ? synonyms}) - GoogleCloudRetailV2RuleOnewaySynonymsAction.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onewayTerms
↔ List<
String> ? -
Will be [deprecated = true] post migration;
getter/setter pair
-
queryTerms
↔ List<
String> ? -
Terms from the search query.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
synonyms
↔ List<
String> ? -
Defines a set of synonyms.
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