public sealed class Control.Types.SynonymsAction : IMessage<Control.Types.SynonymsAction>, IEquatable<Control.Types.SynonymsAction>, IDeepCloneable<Control.Types.SynonymsAction>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 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".
Implements
IMessageControlTypesSynonymsAction, IEquatableControlTypesSynonymsAction, IDeepCloneableControlTypesSynonymsAction, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
SynonymsAction()
public SynonymsAction()SynonymsAction(SynonymsAction)
public SynonymsAction(Control.Types.SynonymsAction other)| Parameter | |
|---|---|
| Name | Description |
other |
ControlTypesSynonymsAction |
Properties
Synonyms
public RepeatedField<string> Synonyms { get; }Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|