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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eIntent.Types.TrainingPhrase.Types.Part\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIntent.Types.TrainingPhrase.Types.Part\u003c/code\u003e class represents a component of a training phrase, used in the Dialogflow API, with the latest version documented being 4.26.0, and multiple prior versions going back to 3.2.0 available for review.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eIntent.Types.TrainingPhrase.Types.Part\u003c/code\u003e is a sealed class that implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePart\u003c/code\u003e class has properties such as \u003ccode\u003eAlias\u003c/code\u003e, \u003ccode\u003eEntityType\u003c/code\u003e, \u003ccode\u003eText\u003c/code\u003e, and \u003ccode\u003eUserDefined\u003c/code\u003e, which are used to define the characteristics and annotation details of the part within a training phrase.\u003c/p\u003e\n"]]],[],null,[]]