View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookResponse (google_api_dialogflow v0.88.3)

The response message for a webhook call.

Attributes

  • fulfillmentResponse (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse.t, default: nil) - The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
  • pageInfo (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3PageInfo.t, default: nil) - Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
  • payload (type: map(), default: nil) - Value to append directly to QueryResult.webhook_payloads.
  • sessionInfo (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3SessionInfo.t, default: nil) - Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
  • targetFlow (type: String.t, default: nil) - The target flow to transition to. Format: projects//locations//agents//flows/.
  • targetPage (type: String.t, default: nil) - The target page to transition to. Format: projects//locations//agents//flows//pages/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookResponse{
  fulfillmentResponse:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse.t()
    | nil,
  pageInfo:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3PageInfo.t() | nil,
  payload: map() | nil,
  sessionInfo:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3SessionInfo.t() | nil,
  targetFlow: String.t() | nil,
  targetPage: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.