Class WebhookResponse (1.23.1)

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

The response message for a webhook call.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

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/. This field is a member of oneof_ transition.
target_flow str
The target flow to transition to. Format: projects/. This field is a member of oneof_ transition.

Classes

FulfillmentResponse

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

Represents a fulfillment response to the user.