Google Cloud Dialogflow v2beta1 API - Class Intent.Types.TrainingPhrase.Types.Part (1.0.0-beta12)

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 v2beta1 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.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

Part()

public Part()

Part(Part)

public Part(Intent.Types.TrainingPhrase.Types.Part other)
Parameter
NameDescription
otherIntentTypesTrainingPhraseTypesPart

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
bool