- 2.39.1 (latest)
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.2
- 2.29.0
- 2.28.3
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.1
- 2.23.3
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.1
- 2.18.0
- 2.17.0
- 2.16.1
- 2.15.2
- 2.14.1
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.1
- 2.8.1
- 2.7.1
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.2
- 2.0.0
- 1.1.3
- 1.0.0
- 0.8.0
- 0.7.2
The response message for a webhook call.
This response is validated by the Dialogflow server. If validation fails, an error will be returned in the [QueryResult.diagnostic_info][google.cloud.dialogflow.v2.QueryResult.diagnostic_info] field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error:
- Use
""
for empty strings - Use
{}
ornull
for empty objects - Use
[]
ornull
for empty arrays
For more information, see the Protocol Buffers Language
Guide <https://developers.google.com/protocol-buffers/docs/proto3#json>
__.
Optional. The collection of rich messages to present to the
user. This value is passed directly to
QueryResult.fulfillment_messages
.
Optional. This value is passed directly to
QueryResult.webhook_payload
. See the related
fulfillment_messages[i].payload field
, which may be used
as an alternative to this field. This field can be used for
Actions on Google responses. It should have a structure
similar to the JSON message shown here. For more information,
see Actions on Google Webhook Format
<https://developers.google.com/actions/dialogflow/webhook>
__
.. raw:: html
{ "google": { "expectUserResponse": true, "richResponse": { "items": [ { "simpleResponse": { "textToSpeech": "this is a simple response" } } ] } } }
Optional. Makes the platform immediately invoke another
DetectIntent
call internally with the specified event as
input. When this field is set, Dialogflow ignores the
fulfillment_text
, fulfillment_messages
, and
payload
fields.