Class: Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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 ⇒ ::Boolean
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.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 204 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#entity_type ⇒ ::String
Returns Optional. The entity type name prefixed with @
.
This field is required for annotated parts of the training phrase.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 204 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns Required. The text for this part.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 204 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#user_defined ⇒ ::Boolean
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.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 204 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |