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 document provides reference information for the `Rule.Types.TwowaySynonymsAction` class within the Google Cloud Retail v2 API, specifically for version 2.8.0 and other versions."],["The `TwowaySynonymsAction` class is used to define terms that should be treated as synonyms, such that each term is considered a synonym of the others, and is part of the `Google.Cloud.Retail.V2` namespace."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from `object`."],["The class has a `Synonyms` property, which allows you to specify up to 100 synonyms as a `RepeatedField\u003cstring\u003e`, requiring at least two synonyms to be defined."],["The versions available range from 2.12.0 down to 1.0.0, with 2.12.0 being the latest."]]],[]]