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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRule.Types.TwowaySynonymsAction\u003c/code\u003e class within the Google Cloud Retail v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTwowaySynonymsAction\u003c/code\u003e class creates a set of terms that are treated as synonyms of each other, establishing a two-way relationship between them.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its capabilities and compatibility.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynonyms\u003c/code\u003e property of this class, utilizing the \u003ccode\u003eRepeatedField\u003c/code\u003e type, allows for defining up to 100 synonyms, with a minimum requirement of at least two.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all available versions, starting from version 1.0.0 up to the most recent version, 2.12.0, for this API class.\u003c/p\u003e\n"]]],[],null,[]]