WebhookRequest

The request message for a webhook call.

JSON representation
 { 
 "session" 
 : 
 string 
 , 
 "responseId" 
 : 
 string 
 , 
 "queryResult" 
 : 
 { 
 object (  QueryResult 
 
) 
 } 
 , 
 "alternativeQueryResults" 
 : 
 [ 
 { 
 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. Supported formats: - projects/<Project ID>/agent/sessions/<Session ID>, - projects/ /locations/ /agent/sessions/ , - projects/ /agent/environments/ /users/ /sessions/ , - projects/ /locations/ /agent/environments/ /users/ /sessions/ `,

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 .

alternativeQueryResults[]

object ( QueryResult )

Alternative query results from KnowledgeService.

originalDetectIntentRequest

object ( OriginalDetectIntentRequest )

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

Design a Mobile Site
View Site in Mobile | Classic
Share by: