public sealed class TwowaySynonymsAction : IMessage<Rule.Types.TwowaySynonymsAction>, IEquatable<Rule.Types.TwowaySynonymsAction>, IDeepCloneable<Rule.Types.TwowaySynonymsAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Rule.Types.TwowaySynonymsAction.
Creates a set of terms that will be treated as synonyms of each other.
Example: synonyms of "sneakers" and "shoes":
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides reference documentation for the `Rule.Types.TwowaySynonymsAction` class within the Google Cloud Retail v2 API, with the most recent version being 2.12.0."],["The `TwowaySynonymsAction` class is designed to define sets of terms that should be considered as two-way synonyms of each other, as illustrated with the \"sneakers\" and \"shoes\" example."],["This class inherits members from the `Object` class and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling it to be used in various contexts within the Retail v2 API."],["It has a constructor, TwowaySynonymsAction(), that contains a `Synonyms` property which can contain up to 100 synonyms and require at least 2 to be specified."]]],[]]