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

Represents the contents of the original request that was passed to the [Streaming]DetectIntent call.

Attributes

  • payload (type: map(), default: nil) - Optional. This field is set to the value of the QueryParameters.payload field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload.

    In particular, for the Dialogflow Phone Gateway integration, this field has the form:

    {
     "telephony": {
       "caller_id": "+18558363987"
     }
    }
    Note: The caller ID field (caller_id) will be redacted for Standard Edition agents and populated with the caller ID in E.164 format for Enterprise Edition agents.

  • source (type: String.t, default: nil) - The source of this request, e.g., google, facebook, slack. It is set by Dialogflow-owned servers.

  • version (type: String.t, default: nil) - Optional. The version of the protocol used for this request. This field is AoG-specific.

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.GoogleCloudDialogflowV2OriginalDetectIntentRequest{
    payload: map(),
    source: String.t(),
    version: 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.