class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType
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]( cloud.google.com/dialogflow/docs/entities-overview).
Attributes
Required. The collection of entities to override or supplement the custom entity type. Corresponds to the JSON property `entities` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EntityTypeEntity>]
Required. Indicates whether the additional data should override or supplement the custom entity type definition. Corresponds to the JSON property `entityOverrideMode` @return [String]
Required. The unique identifier of the session entity type. Format: `projects// locations//agents//sessions//entityTypes/` or `projects//locations//agents// environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 4894 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 4899 def update!(**args) @entities = args[:entities] if args.key?(:entities) @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode) @name = args[:name] if args.key?(:name) end