From f24f3028fa83da14614d1340e5bce7719be287b6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Jun 2021 02:26:04 +0000 Subject: [PATCH] feat(v3beta1): support sentiment analysis in bot testing (#100) PiperOrigin-RevId: 377947699 Source-Link: https://github.com/googleapis/googleapis/commit/90717db757582fdda158463c613ee6f5334a98a4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a06347a33a73754768a6f0633fc8e247373e5be6 --- google/cloud/dialogflowcx_v3beta1/types/test_case.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/google/cloud/dialogflowcx_v3beta1/types/test_case.py b/google/cloud/dialogflowcx_v3beta1/types/test_case.py index 06b6bde2..d3c4f950 100644 --- a/google/cloud/dialogflowcx_v3beta1/types/test_case.py +++ b/google/cloud/dialogflowcx_v3beta1/types/test_case.py @@ -199,6 +199,8 @@ class UserInput(proto.Message): response to the user utterance. Often if parameters are injected, webhooks should not be enabled. + enable_sentiment_analysis (bool): + Whether sentiment analysis is enabled. """ input = proto.Field(proto.MESSAGE, number=5, message=session.QueryInput,) @@ -206,6 +208,7 @@ class UserInput(proto.Message): proto.MESSAGE, number=2, message=struct_pb2.Struct, ) is_webhook_enabled = proto.Field(proto.BOOL, number=3,) + enable_sentiment_analysis = proto.Field(proto.BOOL, number=7,) class VirtualAgentOutput(proto.Message): r"""The output from the virtual agent.