Class WebhookRequest (2.15.1)

WebhookRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for a webhook call.

Attributes

NameDescription
session str
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats: - \`projects//agent/sessions/, - ``projects/
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.

Inheritance

builtins.object > proto.message.Message > WebhookRequest