Class Intent.Types.TrainingPhrase.Types.Part (3.9.0)

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.

Inheritance

Object > Intent.Types.TrainingPhrase.Types.Part

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

Part()

public Part()

Part(Intent.Types.TrainingPhrase.Types.Part)

public Part(Intent.Types.TrainingPhrase.Types.Part other)
Parameter
NameDescription
otherIntent.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
TypeDescription
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
TypeDescription
String

Text

public string Text { get; set; }

Required. The text for this part.

Property Value
TypeDescription
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
TypeDescription
Boolean