WebhookRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)The request message for a webhook call. .. attribute:: session
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats:
- `projects//agent/sessions/,
projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>,:type: str
Attributes |
|
|---|---|
| Name | Description |
response_id |
str
The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.
|
query_result |
google.cloud.dialogflow_v2beta1.types.QueryResult
The result of the conversational query or event processing. Contains the same value as [Streaming]DetectIntentResponse.query_result.
|
alternative_query_results |
Sequence[google.cloud.dialogflow_v2beta1.types.QueryResult]
Alternative query results from KnowledgeService. |
original_detect_intent_request |
google.cloud.dialogflow_v2beta1.types.OriginalDetectIntentRequest
Optional. The contents of the original request that was passed to [Streaming]DetectIntent call.
|