Google Cloud Dialogflow v2 API - Class Intent.Types.TrainingPhrase.Types.Part (4.19.0)

public sealed class Intent.Types.TrainingPhrase.Types.Part : IMessage<Intent.Types.TrainingPhrase.Types.Part>, IEquatable<Intent.Types.TrainingPhrase.Types.Part>, IDeepCloneable<Intent.Types.TrainingPhrase.Types.Part>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Intent.Types.TrainingPhrase.Types.Part.

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(Part)

public Part(Intent.Types.TrainingPhrase.Types.Part other)
Parameter
Name Description
other IntentTypesTrainingPhraseTypesPart

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
bool