Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit 3343504

Browse files
feat: add a field to indicate whether slot filling is cancelled (#304)
PiperOrigin-RevId: 375489925 Source-Link: googleapis/googleapis@a185afb Source-Link: https://github.com/googleapis/googleapis-gen/commit/c3b8415dc4496a8718d13434eff5da75d6e20dcc
1 parent 2db4511 commit 3343504

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

google/cloud/dialogflow_v2/types/session.py

+4
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,9 @@ class QueryResult(proto.Message):
310310
- ``true`` if all required parameter values have been
311311
collected, or if the matched intent doesn't contain any
312312
required parameters.
313+
cancels_slot_filling (bool):
314+
Indicates whether the conversational query
315+
triggers a cancellation for slot filling.
313316
fulfillment_text (str):
314317
The text to be pronounced to the user or shown on the
315318
screen. Note: This is a legacy field,
@@ -368,6 +371,7 @@ class QueryResult(proto.Message):
368371
action = proto.Field(proto.STRING, number=3,)
369372
parameters = proto.Field(proto.MESSAGE, number=4, message=struct_pb2.Struct,)
370373
all_required_params_present = proto.Field(proto.BOOL, number=5,)
374+
cancels_slot_filling = proto.Field(proto.BOOL, number=21,)
371375
fulfillment_text = proto.Field(proto.STRING, number=6,)
372376
fulfillment_messages = proto.RepeatedField(
373377
proto.MESSAGE, number=7, message=gcd_intent.Intent.Message,

0 commit comments

Comments
 (0)