public sealed class Control.Types.SynonymsAction : IMessage<Control.Types.SynonymsAction>, IEquatable<Control.Types.SynonymsAction>, IDeepCloneable<Control.Types.SynonymsAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class Control.Types.SynonymsAction.
Creates a set of terms that will act as synonyms of one another.
Example: "happy" will also be considered as "glad", "glad" will also be
considered as "happy".
[[["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\u003eThe \u003ccode\u003eControl.Types.SynonymsAction\u003c/code\u003e class in the Discovery Engine v1beta API is used to define sets of terms that will be treated as synonyms of each other.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynonymsAction\u003c/code\u003e class includes a \u003ccode\u003eSynonyms\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e that can store up to 100 synonyms, and requires at least two.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one empty and one that accepts another instance of \u003ccode\u003eControl.Types.SynonymsAction\u003c/code\u003e as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation pertains to the latest version, \u003ccode\u003e1.0.0-beta18\u003c/code\u003e, and also provides access to the \u003ccode\u003e1.0.0-beta17\u003c/code\u003e version.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Control.Types.SynonymsAction (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction) \n\n public sealed class Control.Types.SynonymsAction : IMessage\u003cControl.Types.SynonymsAction\u003e, IEquatable\u003cControl.Types.SynonymsAction\u003e, IDeepCloneable\u003cControl.Types.SynonymsAction\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class Control.Types.SynonymsAction.\n\nCreates a set of terms that will act as synonyms of one another.\n\nExample: \"happy\" will also be considered as \"glad\", \"glad\" will also be\nconsidered as \"happy\". \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Control.Types.SynonymsAction \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Control](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types)[SynonymsAction](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Control](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types)[SynonymsAction](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Control](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types)[SynonymsAction](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### SynonymsAction()\n\n public SynonymsAction()\n\n### SynonymsAction(SynonymsAction)\n\n public SynonymsAction(Control.Types.SynonymsAction other)\n\nProperties\n----------\n\n### Synonyms\n\n public RepeatedField\u003cstring\u003e Synonyms { get; }\n\nDefines a set of synonyms.\nCan specify up to 100 synonyms.\nMust specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is\nthrown."]]