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

Commit ac7eec7

Browse files
feat: support setting current_page to resume sessions; expose transition_route_groups in flows and language_code in webhook (#173)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/f9004fbd-f502-490a-ae97-74367ba99c7a/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) PiperOrigin-RevId: 367052612 Source-Link: googleapis/googleapis@9a386bc PiperOrigin-RevId: 367042726 Source-Link: googleapis/googleapis@163ed6c
1 parent 9422b20 commit ac7eec7

File tree

35 files changed

+2895
-860
lines changed

35 files changed

+2895
-860
lines changed

google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3/FlowsClientTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public void createFlowTest() throws Exception {
9595
.setDescription("description-1724546052")
9696
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
9797
.addAllEventHandlers(new ArrayList<EventHandler>())
98+
.addAllTransitionRouteGroups(new ArrayList<String>())
9899
.setNluSettings(NluSettings.newBuilder().build())
99100
.build();
100101
mockFlows.addResponse(expectedResponse);
@@ -141,6 +142,7 @@ public void createFlowTest2() throws Exception {
141142
.setDescription("description-1724546052")
142143
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
143144
.addAllEventHandlers(new ArrayList<EventHandler>())
145+
.addAllTransitionRouteGroups(new ArrayList<String>())
144146
.setNluSettings(NluSettings.newBuilder().build())
145147
.build();
146148
mockFlows.addResponse(expectedResponse);
@@ -343,6 +345,7 @@ public void getFlowTest() throws Exception {
343345
.setDescription("description-1724546052")
344346
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
345347
.addAllEventHandlers(new ArrayList<EventHandler>())
348+
.addAllTransitionRouteGroups(new ArrayList<String>())
346349
.setNluSettings(NluSettings.newBuilder().build())
347350
.build();
348351
mockFlows.addResponse(expectedResponse);
@@ -386,6 +389,7 @@ public void getFlowTest2() throws Exception {
386389
.setDescription("description-1724546052")
387390
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
388391
.addAllEventHandlers(new ArrayList<EventHandler>())
392+
.addAllTransitionRouteGroups(new ArrayList<String>())
389393
.setNluSettings(NluSettings.newBuilder().build())
390394
.build();
391395
mockFlows.addResponse(expectedResponse);
@@ -429,6 +433,7 @@ public void updateFlowTest() throws Exception {
429433
.setDescription("description-1724546052")
430434
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
431435
.addAllEventHandlers(new ArrayList<EventHandler>())
436+
.addAllTransitionRouteGroups(new ArrayList<String>())
432437
.setNluSettings(NluSettings.newBuilder().build())
433438
.build();
434439
mockFlows.addResponse(expectedResponse);

google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClientTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public void createFlowTest() throws Exception {
9595
.setDescription("description-1724546052")
9696
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
9797
.addAllEventHandlers(new ArrayList<EventHandler>())
98+
.addAllTransitionRouteGroups(new ArrayList<String>())
9899
.setNluSettings(NluSettings.newBuilder().build())
99100
.build();
100101
mockFlows.addResponse(expectedResponse);
@@ -141,6 +142,7 @@ public void createFlowTest2() throws Exception {
141142
.setDescription("description-1724546052")
142143
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
143144
.addAllEventHandlers(new ArrayList<EventHandler>())
145+
.addAllTransitionRouteGroups(new ArrayList<String>())
144146
.setNluSettings(NluSettings.newBuilder().build())
145147
.build();
146148
mockFlows.addResponse(expectedResponse);
@@ -343,6 +345,7 @@ public void getFlowTest() throws Exception {
343345
.setDescription("description-1724546052")
344346
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
345347
.addAllEventHandlers(new ArrayList<EventHandler>())
348+
.addAllTransitionRouteGroups(new ArrayList<String>())
346349
.setNluSettings(NluSettings.newBuilder().build())
347350
.build();
348351
mockFlows.addResponse(expectedResponse);
@@ -386,6 +389,7 @@ public void getFlowTest2() throws Exception {
386389
.setDescription("description-1724546052")
387390
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
388391
.addAllEventHandlers(new ArrayList<EventHandler>())
392+
.addAllTransitionRouteGroups(new ArrayList<String>())
389393
.setNluSettings(NluSettings.newBuilder().build())
390394
.build();
391395
mockFlows.addResponse(expectedResponse);
@@ -429,6 +433,7 @@ public void updateFlowTest() throws Exception {
429433
.setDescription("description-1724546052")
430434
.addAllTransitionRoutes(new ArrayList<TransitionRoute>())
431435
.addAllEventHandlers(new ArrayList<EventHandler>())
436+
.addAllTransitionRouteGroups(new ArrayList<String>())
432437
.setNluSettings(NluSettings.newBuilder().build())
433438
.build();
434439
mockFlows.addResponse(expectedResponse);

0 commit comments

Comments
 (0)