View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SessionInfo (google_api_dialogflow v0.88.0)

Represents session information communicated to and from the webhook.

Attributes

  • parameters (type: map(), default: nil) - Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.
  • session (type: String.t, default: nil) - Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a session. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/ if environment is specified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SessionInfo{
  parameters: map() | nil,
  session: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.