Discovery Engine v1beta API - Class Control.Types.SynonymsAction (1.0.0-beta14)

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".

Inheritance

object > Control.Types.SynonymsAction

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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