WebhookRequest

The request message for a webhook call.

JSON representation
{
  "session": string,
  "responseId": string,
  "queryResult": {
    object (QueryResult)
  },
  "originalDetectIntentRequest": {
    object (OriginalDetectIntentRequest)
  }
}
Fields
session

string

The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: projects/<Project ID>/agent/sessions/<Session ID>, or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.

responseId

string

The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.

queryResult

object (QueryResult)

The result of the conversational query or event processing. Contains the same value as [Streaming]DetectIntentResponse.query_result.

originalDetectIntentRequest

object (OriginalDetectIntentRequest)

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