public sealed class Part : IMessage<Intent.Types.TrainingPhrase.Types.Part>, IEquatable<Intent.Types.TrainingPhrase.Types.Part>, IDeepCloneable<Intent.Types.TrainingPhrase.Types.Part>, IBufferMessage, IMessage
Represents a part of a training phrase.
Implements
IMessage<Intent.Types.TrainingPhrase.Types.Part>, IEquatable<Intent.Types.TrainingPhrase.Types.Part>, IDeepCloneable<Intent.Types.TrainingPhrase.Types.Part>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Part()
public Part()
Part(Intent.Types.TrainingPhrase.Types.Part)
public Part(Intent.Types.TrainingPhrase.Types.Part other)
Parameter | |
---|---|
Name | Description |
other | Intent.Types.TrainingPhrase.Types.Part |
Properties
Alias
public string Alias { get; set; }
Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
Property Value | |
---|---|
Type | Description |
String |
EntityType
public string EntityType { get; set; }
Optional. The entity type name prefixed with @
.
This field is required for annotated parts of the training phrase.
Property Value | |
---|---|
Type | Description |
String |
Text
public string Text { get; set; }
Required. The text for this part.
Property Value | |
---|---|
Type | Description |
String |
UserDefined
public bool UserDefined { get; set; }
Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
Property Value | |
---|---|
Type | Description |
Boolean |