View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1SessionEntityType (google_api_dialogflow v0.88.3)

A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes. For more information, see the session entity guide.

Attributes

  • entities (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1EntityTypeEntity.t), default: nil) - Required. The collection of entities associated with this session entity type.
  • entityOverrideMode (type: String.t, default: nil) - Required. Indicates whether the additional data should override or supplement the custom entity type definition.
  • name (type: String.t, default: nil) - Required. The unique identifier of this session entity type. Supported formats: - projects//agent/sessions//entityTypes/ - projects//locations//agent/sessions//entityTypes/ - projects//agent/environments//users//sessions//entityTypes/ - projects//locations//agent/environments/ /users//sessions//entityTypes/ If Location ID is not specified we assume default 'us' location. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1SessionEntityType{
    entities:
      [
        GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1EntityTypeEntity.t()
      ]
      | nil,
    entityOverrideMode: String.t() | nil,
    name: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.