Model Armor v1 API - Class WordList (1.2.0)

public sealed class WordList : IMessage<WordList>, IEquatable<WordList>, IDeepCloneable<WordList>, IBufferMessage, IMessage

Reference documentation and code samples for the Model Armor v1 API class WordList.

Message defining a list of words or phrases.

Inheritance

object > WordList

Namespace

Google.Cloud.ModelArmor.V1

Assembly

Google.Cloud.ModelArmor.V1.dll

Constructors

WordList()

public WordList()

WordList(WordList)

public WordList(WordList other)
Parameter
Name Description
other WordList

Properties

Words

public RepeatedField<string> Words { get; }

Required. Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least two characters that are letters or digits.

Property Value
Type Description
RepeatedFieldstring