Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::EntityType::Entity.
An entity entry for an associated entity type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#synonyms
def synonyms() -> ::Array<::String>-
(::Array<::String>) —
Required. A collection of value synonyms. For example, if the entity type is vegetable, and
valueis scallions, a synonym could be green onions.For
KIND_LISTentity types:- This collection must contain exactly one synonym equal to
value.
- This collection must contain exactly one synonym equal to
#synonyms=
def synonyms=(value) -> ::Array<::String>-
value (::Array<::String>) —
Required. A collection of value synonyms. For example, if the entity type is vegetable, and
valueis scallions, a synonym could be green onions.For
KIND_LISTentity types:- This collection must contain exactly one synonym equal to
value.
- This collection must contain exactly one synonym equal to
-
(::Array<::String>) —
Required. A collection of value synonyms. For example, if the entity type is vegetable, and
valueis scallions, a synonym could be green onions.For
KIND_LISTentity types:- This collection must contain exactly one synonym equal to
value.
- This collection must contain exactly one synonym equal to
#value
def value() -> ::String-
(::String) —
Required. The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions.
For
KIND_MAPentity types:- A canonical value to be used in place of synonyms.
For
KIND_LISTentity types:- A string that can contain references to other entity types (with or without aliases).
#value=
def value=(value) -> ::String-
value (::String) —
Required. The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions.
For
KIND_MAPentity types:- A canonical value to be used in place of synonyms.
For
KIND_LISTentity types:- A string that can contain references to other entity types (with or without aliases).
-
(::String) —
Required. The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions.
For
KIND_MAPentity types:- A canonical value to be used in place of synonyms.
For
KIND_LISTentity types:- A string that can contain references to other entity types (with or without aliases).