Class: Google::Cloud::Dialogflow::V2::EntityType::Entity
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::EntityType::Entity
- Defined in:
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb
Overview
Optional. Represents an entity.
Instance Attribute Summary collapse
-
#synonyms ⇒ Array<String>
Required.
-
#value ⇒ String
Required.
Instance Attribute Details
#synonyms ⇒ Array<String>
Returns Required. A collection of synonyms. For KIND_LIST
entity types this
must contain exactly one synonym equal to value
.
56 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb', line 56 class Entity; end |
#value ⇒ String
Returns Required.
For KIND_MAP
entity types:
A canonical name to be used in place of synonyms.
For KIND_LIST
entity types:
A string that can contain references to other entity types (with or
without aliases).
56 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb', line 56 class Entity; end |