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

The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.

Attributes

  • detectIntentResponseId (type: String.t, default: nil) - Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
  • dtmfDigits (type: String.t, default: nil) - If DTMF was provided as input, this field will contain the DTMF digits.
  • fulfillmentInfo (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo.t, default: nil) - Always present. Information about the fulfillment that triggered this webhook call.
  • intentInfo (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo.t, default: nil) - Information about the last matched intent.
  • languageCode (type: String.t, default: nil) - The language code specified in the original request.
  • languageInfo (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1LanguageInfo.t, default: nil) - Information about the language of the request.
  • messages (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1ResponseMessage.t), default: nil) - The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
  • pageInfo (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1PageInfo.t, default: nil) - Information about page status.
  • payload (type: map(), default: nil) - Custom data set in QueryParameters.payload.
  • sentimentAnalysisResult (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult.t, default: nil) - The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
  • sessionInfo (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1SessionInfo.t, default: nil) - Information about session status.
  • text (type: String.t, default: nil) - If natural language text was provided as input, this field will contain a copy of the text.
  • transcript (type: String.t, default: nil) - If natural language speech audio was provided as input, this field will contain the transcript for the audio.
  • triggerEvent (type: String.t, default: nil) - If an event was provided as input, this field will contain the name of the event.
  • triggerIntent (type: String.t, default: nil) - If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects//locations//agents//intents/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequest{
    detectIntentResponseId: String.t() | nil,
    dtmfDigits: String.t() | nil,
    fulfillmentInfo:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo.t()
      | nil,
    intentInfo:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo.t()
      | nil,
    languageCode: String.t() | nil,
    languageInfo:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1LanguageInfo.t()
      | nil,
    messages:
      [
        GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1ResponseMessage.t()
      ]
      | nil,
    pageInfo:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1PageInfo.t()
      | nil,
    payload: map() | nil,
    sentimentAnalysisResult:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult.t()
      | nil,
    sessionInfo:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1SessionInfo.t()
      | nil,
    text: String.t() | nil,
    transcript: String.t() | nil,
    triggerEvent: String.t() | nil,
    triggerIntent: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.