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

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

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.



165
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 165

class Part; 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.



165
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 165

class Part; end

#textString

Returns Required. The text for this part.

Returns:

  • (String)

    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_definedtrue, 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.

Returns:

  • (true, false)

    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