public sealed class Rule.Types.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 documentation page covers the `Rule.Types.TwowaySynonymsAction` class within the Google.Cloud.Retail.V2 namespace, detailing its functionality for managing two-way synonyms."],["`TwowaySynonymsAction` is used to define sets of terms that should be treated as synonyms of each other in the Retail v2 API, such as \"sneakers\" and \"shoes\" being mutually recognized as synonyms."],["The class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and offers constructors for creating instances, including one that takes another `TwowaySynonymsAction` as a parameter."],["The class includes a `Synonyms` property, which is a `RepeatedField\u003cstring\u003e` allowing up to 100 synonyms to be specified, with a minimum of 2 synonyms required."],["There is version history for the document, starting at version 1.0.0 going all the way to version 2.12.0, with the document you are reading being for version 2.7.0."]]],[]]