View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1WebhookResponse (google_api_dialogflow v0.78.0)

The response message for a webhook call.

Attributes

  • fulfillmentResponse (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse.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.GoogleCloudDialogflowCxV3beta1PageInfo.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.GoogleCloudDialogflowCxV3beta1SessionInfo.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

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1WebhookResponse{
    fulfillmentResponse:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse.t()
      | nil,
    pageInfo:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1PageInfo.t()
      | nil,
    payload: map() | nil,
    sessionInfo:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1SessionInfo.t()
      | nil,
    targetFlow: String.t() | nil,
    targetPage: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.