Class WebhookResponse (0.8.0)

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

The response message for a webhook call. Attributes: 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][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads]. target_page (str): The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>. target_flow (str): The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

Inheritance

builtins.object > proto.message.Message > WebhookResponse