Class: Google::Cloud::Dialogflow::V2::EntityType::Entity

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb

Overview

Optional. Represents an entity.

Instance Attribute Summary collapse

Instance Attribute Details

#synonymsArray<String>

Returns Required. A collection of synonyms. For KIND_LIST entity types this must contain exactly one synonym equal to value.

Returns:

  • (Array<String>)

    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

#valueString

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).

Returns:

  • (String)

    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