Class: Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#aliasString

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.

Returns:

  • (String)

    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.



180
181
182
183
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 180

class Part
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#entity_typeString

Returns Optional. The entity type name prefixed with @. This field is required for annotated parts of the training phrase.

Returns:

  • (String)

    Optional. The entity type name prefixed with @. This field is required for annotated parts of the training phrase.



180
181
182
183
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 180

class Part
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#textString

Returns Required. The text for this part.

Returns:

  • (String)

    Required. The text for this part.



180
181
182
183
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 180

class Part
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#user_definedBoolean

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.

Returns:

  • (Boolean)

    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.



180
181
182
183
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 180

class Part
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end