google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SessionEntityType View Source

Represents a session entity type.

Extends or replaces 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.

Attributes

  • entities (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EntityTypeEntity.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. Format: projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>, or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

    <Entity Type Display Name> must be the display name of an existing entity type in the same agent that will be overridden or supplemented.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SessionEntityType{
  entities: [
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EntityTypeEntity.t()
  ],
  entityOverrideMode: String.t(),
  name: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.