Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::SessionEntityType.
Session entity types are referred to as User entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.
You can redefine a session entity type at the session level to extend or replace a custom entity type at the user session level (we refer to the entity types defined at the agent level as "custom entity types").
Note: session entity types apply to all queries, regardless of the language.
For more information about entity types, see the Dialogflow documentation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entities
def entities() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::EntityType::Entity>
- (::Array<::Google::Cloud::Dialogflow::CX::V3::EntityType::Entity>) — Required. The collection of entities to override or supplement the custom entity type.
#entities=
def entities=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::EntityType::Entity>
- value (::Array<::Google::Cloud::Dialogflow::CX::V3::EntityType::Entity>) — Required. The collection of entities to override or supplement the custom entity type.
- (::Array<::Google::Cloud::Dialogflow::CX::V3::EntityType::Entity>) — Required. The collection of entities to override or supplement the custom entity type.
#entity_override_mode
def entity_override_mode() -> ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType::EntityOverrideMode
- (::Google::Cloud::Dialogflow::CX::V3::SessionEntityType::EntityOverrideMode) — Required. Indicates whether the additional data should override or supplement the custom entity type definition.
#entity_override_mode=
def entity_override_mode=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType::EntityOverrideMode
- value (::Google::Cloud::Dialogflow::CX::V3::SessionEntityType::EntityOverrideMode) — Required. Indicates whether the additional data should override or supplement the custom entity type definition.
- (::Google::Cloud::Dialogflow::CX::V3::SessionEntityType::EntityOverrideMode) — Required. Indicates whether the additional data should override or supplement the custom entity type definition.
#name
def name() -> ::String
-
(::String) — Required. The unique identifier of the session entity type.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>
orprojects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
#name=
def name=(value) -> ::String
-
value (::String) — Required. The unique identifier of the session entity type.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>
orprojects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
-
(::String) — Required. The unique identifier of the session entity type.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>
orprojects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment.