Class: Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part
- Defined in:
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb
Overview
Represents a part of a training phrase.
Instance Attribute Summary collapse
-
#alias ⇒ String
Optional.
-
#entity_type ⇒ String
Optional.
-
#text ⇒ String
Required.
-
#user_defined ⇒ true, false
Optional.
Instance Attribute Details
#alias ⇒ String
Returns 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.
165 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 165 class Part; end |
#entity_type ⇒ String
Returns Optional. The entity type name prefixed with @
.
This field is required for annotated parts of the training phrase.
165 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 165 class Part; end |
#text ⇒ String
Returns Required. The text for this part.
165 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 165 class Part; end |
#user_defined ⇒ true, false
Returns 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.
165 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 165 class Part; end |