google-cloud-dialogflow-cx-v3 0.26.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +4 -1
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +25 -11
- data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +25 -11
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +15 -1
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +21 -9
- data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +21 -9
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +23 -10
- data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +23 -10
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +15 -6
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -12
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +27 -12
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +4 -1
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +13 -5
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +54 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +24 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +199 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +9 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +18 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +4 -6
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +75 -0
- metadata +2 -2
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Environments
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -192,10 +195,11 @@ module Google
|
|
192
195
|
# Customize the options with defaults
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
194
197
|
|
195
|
-
# Set x-goog-api-client
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
198
201
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
200
204
|
|
201
205
|
header_params = {}
|
@@ -288,10 +292,11 @@ module Google
|
|
288
292
|
# Customize the options with defaults
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
290
294
|
|
291
|
-
# Set x-goog-api-client
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
298
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
296
301
|
|
297
302
|
header_params = {}
|
@@ -377,10 +382,11 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
391
|
|
386
392
|
header_params = {}
|
@@ -471,10 +477,11 @@ module Google
|
|
471
477
|
# Customize the options with defaults
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
473
479
|
|
474
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
477
483
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
479
486
|
|
480
487
|
header_params = {}
|
@@ -575,10 +582,11 @@ module Google
|
|
575
582
|
# Customize the options with defaults
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
577
584
|
|
578
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
588
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# {::Google::Cloud::Dialogflow::CX::V3::Environment Environments}.
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -256,12 +259,13 @@ module Google
|
|
256
259
|
# Customize the options with defaults
|
257
260
|
call_metadata = @config.rpcs.list_environments.metadata.to_h
|
258
261
|
|
259
|
-
# Set x-goog-api-client
|
262
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
260
263
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
261
264
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
262
265
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
263
266
|
transports_version_send: [:rest]
|
264
267
|
|
268
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
265
269
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
266
270
|
|
267
271
|
options.apply_defaults timeout: @config.rpcs.list_environments.timeout,
|
@@ -339,12 +343,13 @@ module Google
|
|
339
343
|
# Customize the options with defaults
|
340
344
|
call_metadata = @config.rpcs.get_environment.metadata.to_h
|
341
345
|
|
342
|
-
# Set x-goog-api-client
|
346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
343
347
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
344
348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
345
349
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
346
350
|
transports_version_send: [:rest]
|
347
351
|
|
352
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
348
353
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
349
354
|
|
350
355
|
options.apply_defaults timeout: @config.rpcs.get_environment.timeout,
|
@@ -437,12 +442,13 @@ module Google
|
|
437
442
|
# Customize the options with defaults
|
438
443
|
call_metadata = @config.rpcs.create_environment.metadata.to_h
|
439
444
|
|
440
|
-
# Set x-goog-api-client
|
445
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
441
446
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
442
447
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
443
448
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
444
449
|
transports_version_send: [:rest]
|
445
450
|
|
451
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
446
452
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
447
453
|
|
448
454
|
options.apply_defaults timeout: @config.rpcs.create_environment.timeout,
|
@@ -534,12 +540,13 @@ module Google
|
|
534
540
|
# Customize the options with defaults
|
535
541
|
call_metadata = @config.rpcs.update_environment.metadata.to_h
|
536
542
|
|
537
|
-
# Set x-goog-api-client
|
543
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
538
544
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
539
545
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
540
546
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
541
547
|
transports_version_send: [:rest]
|
542
548
|
|
549
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
543
550
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
544
551
|
|
545
552
|
options.apply_defaults timeout: @config.rpcs.update_environment.timeout,
|
@@ -617,12 +624,13 @@ module Google
|
|
617
624
|
# Customize the options with defaults
|
618
625
|
call_metadata = @config.rpcs.delete_environment.metadata.to_h
|
619
626
|
|
620
|
-
# Set x-goog-api-client
|
627
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
621
628
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
622
629
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
623
630
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
624
631
|
transports_version_send: [:rest]
|
625
632
|
|
633
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
626
634
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
627
635
|
|
628
636
|
options.apply_defaults timeout: @config.rpcs.delete_environment.timeout,
|
@@ -707,12 +715,13 @@ module Google
|
|
707
715
|
# Customize the options with defaults
|
708
716
|
call_metadata = @config.rpcs.lookup_environment_history.metadata.to_h
|
709
717
|
|
710
|
-
# Set x-goog-api-client
|
718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
711
719
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
712
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
713
721
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
714
722
|
transports_version_send: [:rest]
|
715
723
|
|
724
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
716
725
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
717
726
|
|
718
727
|
options.apply_defaults timeout: @config.rpcs.lookup_environment_history.timeout,
|
@@ -804,12 +813,13 @@ module Google
|
|
804
813
|
# Customize the options with defaults
|
805
814
|
call_metadata = @config.rpcs.run_continuous_test.metadata.to_h
|
806
815
|
|
807
|
-
# Set x-goog-api-client
|
816
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
808
817
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
809
818
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
810
819
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
811
820
|
transports_version_send: [:rest]
|
812
821
|
|
822
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
813
823
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
814
824
|
|
815
825
|
options.apply_defaults timeout: @config.rpcs.run_continuous_test.timeout,
|
@@ -894,12 +904,13 @@ module Google
|
|
894
904
|
# Customize the options with defaults
|
895
905
|
call_metadata = @config.rpcs.list_continuous_test_results.metadata.to_h
|
896
906
|
|
897
|
-
# Set x-goog-api-client
|
907
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
898
908
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
899
909
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
900
910
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
901
911
|
transports_version_send: [:rest]
|
902
912
|
|
913
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
903
914
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
904
915
|
|
905
916
|
options.apply_defaults timeout: @config.rpcs.list_continuous_test_results.timeout,
|
@@ -996,12 +1007,13 @@ module Google
|
|
996
1007
|
# Customize the options with defaults
|
997
1008
|
call_metadata = @config.rpcs.deploy_flow.metadata.to_h
|
998
1009
|
|
999
|
-
# Set x-goog-api-client
|
1010
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1000
1011
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1001
1012
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1002
1013
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
1003
1014
|
transports_version_send: [:rest]
|
1004
1015
|
|
1016
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1005
1017
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1006
1018
|
|
1007
1019
|
options.apply_defaults timeout: @config.rpcs.deploy_flow.timeout,
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Rest
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -182,12 +185,13 @@ module Google
|
|
182
185
|
# Customize the options with defaults
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
184
187
|
|
185
|
-
# Set x-goog-api-client
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
188
191
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
189
192
|
transports_version_send: [:rest]
|
190
193
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
192
196
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -270,12 +274,13 @@ module Google
|
|
270
274
|
# Customize the options with defaults
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
272
276
|
|
273
|
-
# Set x-goog-api-client
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
276
280
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
277
281
|
transports_version_send: [:rest]
|
278
282
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
280
285
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -352,12 +357,13 @@ module Google
|
|
352
357
|
# Customize the options with defaults
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
354
359
|
|
355
|
-
# Set x-goog-api-client
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
363
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
359
364
|
transports_version_send: [:rest]
|
360
365
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
368
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -439,12 +445,13 @@ module Google
|
|
439
445
|
# Customize the options with defaults
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
441
447
|
|
442
|
-
# Set x-goog-api-client
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
445
451
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
446
452
|
transports_version_send: [:rest]
|
447
453
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
456
|
|
450
457
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Experiment Experiments}.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -249,10 +252,11 @@ module Google
|
|
249
252
|
# Customize the options with defaults
|
250
253
|
metadata = @config.rpcs.list_experiments.metadata.to_h
|
251
254
|
|
252
|
-
# Set x-goog-api-client
|
255
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
253
256
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
254
257
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
255
258
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
259
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
256
260
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
257
261
|
|
258
262
|
header_params = {}
|
@@ -339,10 +343,11 @@ module Google
|
|
339
343
|
# Customize the options with defaults
|
340
344
|
metadata = @config.rpcs.get_experiment.metadata.to_h
|
341
345
|
|
342
|
-
# Set x-goog-api-client
|
346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
343
347
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
344
348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
345
349
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
350
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
346
351
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
347
352
|
|
348
353
|
header_params = {}
|
@@ -430,10 +435,11 @@ module Google
|
|
430
435
|
# Customize the options with defaults
|
431
436
|
metadata = @config.rpcs.create_experiment.metadata.to_h
|
432
437
|
|
433
|
-
# Set x-goog-api-client
|
438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
434
439
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
435
440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
436
441
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
442
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
437
443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
438
444
|
|
439
445
|
header_params = {}
|
@@ -518,10 +524,11 @@ module Google
|
|
518
524
|
# Customize the options with defaults
|
519
525
|
metadata = @config.rpcs.update_experiment.metadata.to_h
|
520
526
|
|
521
|
-
# Set x-goog-api-client
|
527
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
522
528
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
523
529
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
524
530
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
531
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
525
532
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
526
533
|
|
527
534
|
header_params = {}
|
@@ -607,10 +614,11 @@ module Google
|
|
607
614
|
# Customize the options with defaults
|
608
615
|
metadata = @config.rpcs.delete_experiment.metadata.to_h
|
609
616
|
|
610
|
-
# Set x-goog-api-client
|
617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
611
618
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
612
619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
613
620
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
621
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
614
622
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
615
623
|
|
616
624
|
header_params = {}
|
@@ -696,10 +704,11 @@ module Google
|
|
696
704
|
# Customize the options with defaults
|
697
705
|
metadata = @config.rpcs.start_experiment.metadata.to_h
|
698
706
|
|
699
|
-
# Set x-goog-api-client
|
707
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
700
708
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
701
709
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
702
710
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
711
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
703
712
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
704
713
|
|
705
714
|
header_params = {}
|
@@ -784,10 +793,11 @@ module Google
|
|
784
793
|
# Customize the options with defaults
|
785
794
|
metadata = @config.rpcs.stop_experiment.metadata.to_h
|
786
795
|
|
787
|
-
# Set x-goog-api-client
|
796
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
788
797
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
789
798
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
790
799
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
800
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
791
801
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
792
802
|
|
793
803
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Experiment Experiments}.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -242,12 +245,13 @@ module Google
|
|
242
245
|
# Customize the options with defaults
|
243
246
|
call_metadata = @config.rpcs.list_experiments.metadata.to_h
|
244
247
|
|
245
|
-
# Set x-goog-api-client
|
248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
246
249
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
247
250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
248
251
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
249
252
|
transports_version_send: [:rest]
|
250
253
|
|
254
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
251
255
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
252
256
|
|
253
257
|
options.apply_defaults timeout: @config.rpcs.list_experiments.timeout,
|
@@ -325,12 +329,13 @@ module Google
|
|
325
329
|
# Customize the options with defaults
|
326
330
|
call_metadata = @config.rpcs.get_experiment.metadata.to_h
|
327
331
|
|
328
|
-
# Set x-goog-api-client
|
332
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
329
333
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
330
334
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
331
335
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
332
336
|
transports_version_send: [:rest]
|
333
337
|
|
338
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
334
339
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
335
340
|
|
336
341
|
options.apply_defaults timeout: @config.rpcs.get_experiment.timeout,
|
@@ -409,12 +414,13 @@ module Google
|
|
409
414
|
# Customize the options with defaults
|
410
415
|
call_metadata = @config.rpcs.create_experiment.metadata.to_h
|
411
416
|
|
412
|
-
# Set x-goog-api-client
|
417
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
413
418
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
414
419
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
415
420
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
416
421
|
transports_version_send: [:rest]
|
417
422
|
|
423
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
418
424
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
419
425
|
|
420
426
|
options.apply_defaults timeout: @config.rpcs.create_experiment.timeout,
|
@@ -490,12 +496,13 @@ module Google
|
|
490
496
|
# Customize the options with defaults
|
491
497
|
call_metadata = @config.rpcs.update_experiment.metadata.to_h
|
492
498
|
|
493
|
-
# Set x-goog-api-client
|
499
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
494
500
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
495
501
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
496
502
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
497
503
|
transports_version_send: [:rest]
|
498
504
|
|
505
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
499
506
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
500
507
|
|
501
508
|
options.apply_defaults timeout: @config.rpcs.update_experiment.timeout,
|
@@ -572,12 +579,13 @@ module Google
|
|
572
579
|
# Customize the options with defaults
|
573
580
|
call_metadata = @config.rpcs.delete_experiment.metadata.to_h
|
574
581
|
|
575
|
-
# Set x-goog-api-client
|
582
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
576
583
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
577
584
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
578
585
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
579
586
|
transports_version_send: [:rest]
|
580
587
|
|
588
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.delete_experiment.timeout,
|
@@ -654,12 +662,13 @@ module Google
|
|
654
662
|
# Customize the options with defaults
|
655
663
|
call_metadata = @config.rpcs.start_experiment.metadata.to_h
|
656
664
|
|
657
|
-
# Set x-goog-api-client
|
665
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
658
666
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
659
667
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
660
668
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
661
669
|
transports_version_send: [:rest]
|
662
670
|
|
671
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
663
672
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
664
673
|
|
665
674
|
options.apply_defaults timeout: @config.rpcs.start_experiment.timeout,
|
@@ -735,12 +744,13 @@ module Google
|
|
735
744
|
# Customize the options with defaults
|
736
745
|
call_metadata = @config.rpcs.stop_experiment.metadata.to_h
|
737
746
|
|
738
|
-
# Set x-goog-api-client
|
747
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
739
748
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
740
749
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
741
750
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
742
751
|
transports_version_send: [:rest]
|
743
752
|
|
753
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
744
754
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
745
755
|
|
746
756
|
options.apply_defaults timeout: @config.rpcs.stop_experiment.timeout,
|
@@ -19,7 +19,7 @@ require 'google/protobuf/struct_pb'
|
|
19
19
|
require 'google/protobuf/timestamp_pb'
|
20
20
|
|
21
21
|
|
22
|
-
descriptor_data = "\n(google/cloud/dialogflow/cx/v3/flow.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x33google/cloud/dialogflow/cx/v3/import_strategy.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x36google/cloud/dialogflow/cx/v3/validation_message.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x03\n\x0bNluSettings\x12H\n\nmodel_type\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.NluSettings.ModelType\x12 \n\x18\x63lassification_threshold\x18\x03 \x01(\x02\x12Y\n\x13model_training_mode\x18\x04 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode\"Y\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13MODEL_TYPE_STANDARD\x10\x01\x12\x17\n\x13MODEL_TYPE_ADVANCED\x10\x03\"{\n\x11ModelTrainingMode\x12#\n\x1fMODEL_TRAINING_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dMODEL_TRAINING_MODE_AUTOMATIC\x10\x01\x12\x1e\n\x1aMODEL_TRAINING_MODE_MANUAL\x10\x02\"\
|
22
|
+
descriptor_data = "\n(google/cloud/dialogflow/cx/v3/flow.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x33google/cloud/dialogflow/cx/v3/import_strategy.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x36google/cloud/dialogflow/cx/v3/validation_message.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x03\n\x0bNluSettings\x12H\n\nmodel_type\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.NluSettings.ModelType\x12 \n\x18\x63lassification_threshold\x18\x03 \x01(\x02\x12Y\n\x13model_training_mode\x18\x04 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode\"Y\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13MODEL_TYPE_STANDARD\x10\x01\x12\x17\n\x13MODEL_TYPE_ADVANCED\x10\x03\"{\n\x11ModelTrainingMode\x12#\n\x1fMODEL_TRAINING_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dMODEL_TRAINING_MODE_AUTOMATIC\x10\x01\x12\x1e\n\x1aMODEL_TRAINING_MODE_MANUAL\x10\x02\"\xf0\x06\n\x04\x46low\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12I\n\x11transition_routes\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute\x12\x43\n\x0e\x65vent_handlers\x18\n \x03(\x0b\x32+.google.cloud.dialogflow.cx.v3.EventHandler\x12T\n\x17transition_route_groups\x18\x0f \x03(\tB3\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12@\n\x0cnlu_settings\x18\x0b \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.NluSettings\x12J\n\x11\x61\x64vanced_settings\x18\x0e \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12\x64\n\x1cknowledge_connector_settings\x18\x12 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettingsB\x03\xe0\x41\x01\x12_\n\x17multi_language_settings\x18\x1c \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettingsB\x03\xe0\x41\x01\x12\x0e\n\x06locked\x18\x1e \x01(\x08\x1au\n\x15MultiLanguageSettings\x12,\n\x1f\x65nable_multi_language_detection\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12.\n!supported_response_language_codes\x18\x02 \x03(\tB\x03\xe0\x41\x01:h\xea\x41\x65\n\x1e\x64ialogflow.googleapis.com/Flow\x12\x43projects/{project}/locations/{location}/agents/{agent}/flows/{flow}\"\x9a\x01\n\x11\x43reateFlowRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x36\n\x04\x66low\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"X\n\x11\x44\x65leteFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x88\x01\n\x10ListFlowsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\"`\n\x11ListFlowsResponse\x12\x32\n\x05\x66lows\x18\x01 \x03(\x0b\x32#.google.cloud.dialogflow.cx.v3.Flow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x0eGetFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\x93\x01\n\x11UpdateFlowRequest\x12\x36\n\x04\x66low\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"H\n\x10TrainFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\"b\n\x13ValidateFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"}\n\x1eGetFlowValidationResultRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/FlowValidationResult\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xb1\x02\n\x14\x46lowValidationResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x13validation_messages\x18\x02 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.ValidationMessage\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x8a\x01\xea\x41\x86\x01\n.dialogflow.googleapis.com/FlowValidationResult\x12Tprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/validationResult\"\xf2\x02\n\x11ImportFlowRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64ialogflow.googleapis.com/Flow\x12\x12\n\x08\x66low_uri\x18\x02 \x01(\tH\x00\x12\x16\n\x0c\x66low_content\x18\x03 \x01(\x0cH\x00\x12T\n\rimport_option\x18\x04 \x01(\x0e\x32=.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption\x12T\n\x14\x66low_import_strategy\x18\x05 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.FlowImportStrategyB\x03\xe0\x41\x01\"E\n\x0cImportOption\x12\x1d\n\x19IMPORT_OPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04KEEP\x10\x01\x12\x0c\n\x08\x46\x41LLBACK\x10\x02\x42\x06\n\x04\x66low\"h\n\x12\x46lowImportStrategy\x12R\n\x16global_import_strategy\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.cx.v3.ImportStrategyB\x03\xe0\x41\x01\"G\n\x12ImportFlowResponse\x12\x31\n\x04\x66low\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\"\x87\x01\n\x11\x45xportFlowRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x15\n\x08\x66low_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18include_referenced_flows\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"H\n\x12\x45xportFlowResponse\x12\x12\n\x08\x66low_uri\x18\x01 \x01(\tH\x00\x12\x16\n\x0c\x66low_content\x18\x02 \x01(\x0cH\x00\x42\x06\n\x04\x66low2\x98\x10\n\x05\x46lows\x12\xb3\x01\n\nCreateFlow\x12\x30.google.cloud.dialogflow.cx.v3.CreateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"N\xda\x41\x0bparent,flow\x82\xd3\xe4\x93\x02:\"2/v3/{parent=projects/*/locations/*/agents/*}/flows:\x04\x66low\x12\x99\x01\n\nDeleteFlow\x12\x30.google.cloud.dialogflow.cx.v3.DeleteFlowRequest\x1a\x16.google.protobuf.Empty\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v3/{name=projects/*/locations/*/agents/*/flows/*}\x12\xb3\x01\n\tListFlows\x12/.google.cloud.dialogflow.cx.v3.ListFlowsRequest\x1a\x30.google.cloud.dialogflow.cx.v3.ListFlowsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{parent=projects/*/locations/*/agents/*}/flows\x12\xa0\x01\n\x07GetFlow\x12-.google.cloud.dialogflow.cx.v3.GetFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{name=projects/*/locations/*/agents/*/flows/*}\x12\xbd\x01\n\nUpdateFlow\x12\x30.google.cloud.dialogflow.cx.v3.UpdateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"X\xda\x41\x10\x66low,update_mask\x82\xd3\xe4\x93\x02?27/v3/{flow.name=projects/*/locations/*/agents/*/flows/*}:\x04\x66low\x12\xd9\x01\n\tTrainFlow\x12/.google.cloud.dialogflow.cx.v3.TrainFlowRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v3/{name=projects/*/locations/*/agents/*/flows/*}:train:\x01*\x12\xbf\x01\n\x0cValidateFlow\x12\x32.google.cloud.dialogflow.cx.v3.ValidateFlowRequest\x1a\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult\"F\x82\xd3\xe4\x93\x02@\";/v3/{name=projects/*/locations/*/agents/*/flows/*}:validate:\x01*\x12\xe1\x01\n\x17GetFlowValidationResult\x12=.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest\x1a\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v3/{name=projects/*/locations/*/agents/*/flows/*/validationResult}\x12\xd2\x01\n\nImportFlow\x12\x30.google.cloud.dialogflow.cx.v3.ImportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41,\n\x12ImportFlowResponse\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02>\"9/v3/{parent=projects/*/locations/*/agents/*}/flows:import:\x01*\x12\xd2\x01\n\nExportFlow\x12\x30.google.cloud.dialogflow.cx.v3.ExportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41,\n\x12\x45xportFlowResponse\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02>\"9/v3/{name=projects/*/locations/*/agents/*/flows/*}:export:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xaf\x01\n!com.google.cloud.dialogflow.cx.v3B\tFlowProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
23
23
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
25
|
|
@@ -59,6 +59,7 @@ module Google
|
|
59
59
|
NluSettings::ModelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.NluSettings.ModelType").enummodule
|
60
60
|
NluSettings::ModelTrainingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode").enummodule
|
61
61
|
Flow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Flow").msgclass
|
62
|
+
Flow::MultiLanguageSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings").msgclass
|
62
63
|
CreateFlowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateFlowRequest").msgclass
|
63
64
|
DeleteFlowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteFlowRequest").msgclass
|
64
65
|
ListFlowsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListFlowsRequest").msgclass
|