Class WebhookResponse (1.2.0)

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

The response message for a webhook call. .. attribute:: fulfillment_response

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.

:type: google.cloud.dialogflowcx_v3.types.WebhookResponse.FulfillmentResponse

Attributes

NameDescription
page_info google.cloud.dialogflowcx_v3.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_v3.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. .. attribute:: messages

The list of rich message responses to present to the user.

:type: Sequence[google.cloud.dialogflowcx_v3.types.ResponseMessage]