Class WebhookResponse (1.5.0)

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

The response message for a webhook call.

Attributes

NameDescription
fulfillment_response google.cloud.dialogflowcx_v3beta1.types.WebhookResponse.FulfillmentResponse
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
page_info google.cloud.dialogflowcx_v3beta1.types.PageInfo
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
session_info google.cloud.dialogflowcx_v3beta1.types.SessionInfo
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
payload google.protobuf.struct_pb2.Struct
Value to append directly to QueryResult.webhook_payloads.
target_page str
The target page to transition to. Format: projects/.
target_flow str
The target flow to transition to. Format: projects/.

Classes

FulfillmentResponse

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

Represents a fulfillment response to the user.