google-cloud-dialogflow-cx-v3 0.26.0 → 1.0.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/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/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/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_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/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/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 +4 -0
- metadata +2 -2
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# {::Google::Cloud::Dialogflow::CX::V3::TestCaseResult Test Case Results}.
|
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
|
|
@@ -257,12 +260,13 @@ module Google
|
|
257
260
|
# Customize the options with defaults
|
258
261
|
call_metadata = @config.rpcs.list_test_cases.metadata.to_h
|
259
262
|
|
260
|
-
# Set x-goog-api-client
|
263
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
261
264
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
262
265
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
263
266
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
264
267
|
transports_version_send: [:rest]
|
265
268
|
|
269
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
266
270
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
267
271
|
|
268
272
|
options.apply_defaults timeout: @config.rpcs.list_test_cases.timeout,
|
@@ -340,12 +344,13 @@ module Google
|
|
340
344
|
# Customize the options with defaults
|
341
345
|
call_metadata = @config.rpcs.batch_delete_test_cases.metadata.to_h
|
342
346
|
|
343
|
-
# Set x-goog-api-client
|
347
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
344
348
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
345
349
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
346
350
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
347
351
|
transports_version_send: [:rest]
|
348
352
|
|
353
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
349
354
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
350
355
|
|
351
356
|
options.apply_defaults timeout: @config.rpcs.batch_delete_test_cases.timeout,
|
@@ -420,12 +425,13 @@ module Google
|
|
420
425
|
# Customize the options with defaults
|
421
426
|
call_metadata = @config.rpcs.get_test_case.metadata.to_h
|
422
427
|
|
423
|
-
# Set x-goog-api-client
|
428
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
424
429
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
425
430
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
426
431
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
427
432
|
transports_version_send: [:rest]
|
428
433
|
|
434
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
429
435
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
430
436
|
|
431
437
|
options.apply_defaults timeout: @config.rpcs.get_test_case.timeout,
|
@@ -501,12 +507,13 @@ module Google
|
|
501
507
|
# Customize the options with defaults
|
502
508
|
call_metadata = @config.rpcs.create_test_case.metadata.to_h
|
503
509
|
|
504
|
-
# Set x-goog-api-client
|
510
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
505
511
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
506
512
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
507
513
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
508
514
|
transports_version_send: [:rest]
|
509
515
|
|
516
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
510
517
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
511
518
|
|
512
519
|
options.apply_defaults timeout: @config.rpcs.create_test_case.timeout,
|
@@ -584,12 +591,13 @@ module Google
|
|
584
591
|
# Customize the options with defaults
|
585
592
|
call_metadata = @config.rpcs.update_test_case.metadata.to_h
|
586
593
|
|
587
|
-
# Set x-goog-api-client
|
594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
588
595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
589
596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
590
597
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
591
598
|
transports_version_send: [:rest]
|
592
599
|
|
600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
593
601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
594
602
|
|
595
603
|
options.apply_defaults timeout: @config.rpcs.update_test_case.timeout,
|
@@ -683,12 +691,13 @@ module Google
|
|
683
691
|
# Customize the options with defaults
|
684
692
|
call_metadata = @config.rpcs.run_test_case.metadata.to_h
|
685
693
|
|
686
|
-
# Set x-goog-api-client
|
694
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
687
695
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
688
696
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
689
697
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
690
698
|
transports_version_send: [:rest]
|
691
699
|
|
700
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
692
701
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
693
702
|
|
694
703
|
options.apply_defaults timeout: @config.rpcs.run_test_case.timeout,
|
@@ -786,12 +795,13 @@ module Google
|
|
786
795
|
# Customize the options with defaults
|
787
796
|
call_metadata = @config.rpcs.batch_run_test_cases.metadata.to_h
|
788
797
|
|
789
|
-
# Set x-goog-api-client
|
798
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
790
799
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
791
800
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
792
801
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
793
802
|
transports_version_send: [:rest]
|
794
803
|
|
804
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
795
805
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
796
806
|
|
797
807
|
options.apply_defaults timeout: @config.rpcs.batch_run_test_cases.timeout,
|
@@ -868,12 +878,13 @@ module Google
|
|
868
878
|
# Customize the options with defaults
|
869
879
|
call_metadata = @config.rpcs.calculate_coverage.metadata.to_h
|
870
880
|
|
871
|
-
# Set x-goog-api-client
|
881
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
872
882
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
873
883
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
874
884
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
875
885
|
transports_version_send: [:rest]
|
876
886
|
|
887
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
877
888
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
878
889
|
|
879
890
|
options.apply_defaults timeout: @config.rpcs.calculate_coverage.timeout,
|
@@ -977,12 +988,13 @@ module Google
|
|
977
988
|
# Customize the options with defaults
|
978
989
|
call_metadata = @config.rpcs.import_test_cases.metadata.to_h
|
979
990
|
|
980
|
-
# Set x-goog-api-client
|
991
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
981
992
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
982
993
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
983
994
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
984
995
|
transports_version_send: [:rest]
|
985
996
|
|
997
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
986
998
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
987
999
|
|
988
1000
|
options.apply_defaults timeout: @config.rpcs.import_test_cases.timeout,
|
@@ -1099,12 +1111,13 @@ module Google
|
|
1099
1111
|
# Customize the options with defaults
|
1100
1112
|
call_metadata = @config.rpcs.export_test_cases.metadata.to_h
|
1101
1113
|
|
1102
|
-
# Set x-goog-api-client
|
1114
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1103
1115
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1104
1116
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1105
1117
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
1106
1118
|
transports_version_send: [:rest]
|
1107
1119
|
|
1120
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1108
1121
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1109
1122
|
|
1110
1123
|
options.apply_defaults timeout: @config.rpcs.export_test_cases.timeout,
|
@@ -1216,12 +1229,13 @@ module Google
|
|
1216
1229
|
# Customize the options with defaults
|
1217
1230
|
call_metadata = @config.rpcs.list_test_case_results.metadata.to_h
|
1218
1231
|
|
1219
|
-
# Set x-goog-api-client
|
1232
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1220
1233
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1221
1234
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1222
1235
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
1223
1236
|
transports_version_send: [:rest]
|
1224
1237
|
|
1238
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1225
1239
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1226
1240
|
|
1227
1241
|
options.apply_defaults timeout: @config.rpcs.list_test_case_results.timeout,
|
@@ -1297,12 +1311,13 @@ module Google
|
|
1297
1311
|
# Customize the options with defaults
|
1298
1312
|
call_metadata = @config.rpcs.get_test_case_result.metadata.to_h
|
1299
1313
|
|
1300
|
-
# Set x-goog-api-client
|
1314
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1301
1315
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1302
1316
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1303
1317
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
1304
1318
|
transports_version_send: [:rest]
|
1305
1319
|
|
1320
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1306
1321
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1307
1322
|
|
1308
1323
|
options.apply_defaults timeout: @config.rpcs.get_test_case_result.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,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroups}.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -263,10 +266,11 @@ module Google
|
|
263
266
|
# Customize the options with defaults
|
264
267
|
metadata = @config.rpcs.list_transition_route_groups.metadata.to_h
|
265
268
|
|
266
|
-
# Set x-goog-api-client
|
269
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
267
270
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
268
271
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
269
272
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
273
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
270
274
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
271
275
|
|
272
276
|
header_params = {}
|
@@ -368,10 +372,11 @@ module Google
|
|
368
372
|
# Customize the options with defaults
|
369
373
|
metadata = @config.rpcs.get_transition_route_group.metadata.to_h
|
370
374
|
|
371
|
-
# Set x-goog-api-client
|
375
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
372
376
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
373
377
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
374
378
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
379
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
375
380
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
381
|
|
377
382
|
header_params = {}
|
@@ -478,10 +483,11 @@ module Google
|
|
478
483
|
# Customize the options with defaults
|
479
484
|
metadata = @config.rpcs.create_transition_route_group.metadata.to_h
|
480
485
|
|
481
|
-
# Set x-goog-api-client
|
486
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
482
487
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
483
488
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
484
489
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
490
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
485
491
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
486
492
|
|
487
493
|
header_params = {}
|
@@ -582,10 +588,11 @@ module Google
|
|
582
588
|
# Customize the options with defaults
|
583
589
|
metadata = @config.rpcs.update_transition_route_group.metadata.to_h
|
584
590
|
|
585
|
-
# Set x-goog-api-client
|
591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
586
592
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
587
593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
588
594
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
595
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
589
596
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
590
597
|
|
591
598
|
header_params = {}
|
@@ -685,10 +692,11 @@ module Google
|
|
685
692
|
# Customize the options with defaults
|
686
693
|
metadata = @config.rpcs.delete_transition_route_group.metadata.to_h
|
687
694
|
|
688
|
-
# Set x-goog-api-client
|
695
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
689
696
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
690
697
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
691
698
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
699
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
692
700
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
693
701
|
|
694
702
|
header_params = {}
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# {::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroup TransitionRouteGroups}.
|
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_transition_route_groups.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_transition_route_groups.timeout,
|
@@ -354,12 +358,13 @@ module Google
|
|
354
358
|
# Customize the options with defaults
|
355
359
|
call_metadata = @config.rpcs.get_transition_route_group.metadata.to_h
|
356
360
|
|
357
|
-
# Set x-goog-api-client
|
361
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
358
362
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
359
363
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
360
364
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
361
365
|
transports_version_send: [:rest]
|
362
366
|
|
367
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
363
368
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
364
369
|
|
365
370
|
options.apply_defaults timeout: @config.rpcs.get_transition_route_group.timeout,
|
@@ -457,12 +462,13 @@ module Google
|
|
457
462
|
# Customize the options with defaults
|
458
463
|
call_metadata = @config.rpcs.create_transition_route_group.metadata.to_h
|
459
464
|
|
460
|
-
# Set x-goog-api-client
|
465
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
461
466
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
462
467
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
463
468
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
464
469
|
transports_version_send: [:rest]
|
465
470
|
|
471
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
466
472
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
467
473
|
|
468
474
|
options.apply_defaults timeout: @config.rpcs.create_transition_route_group.timeout,
|
@@ -554,12 +560,13 @@ module Google
|
|
554
560
|
# Customize the options with defaults
|
555
561
|
call_metadata = @config.rpcs.update_transition_route_group.metadata.to_h
|
556
562
|
|
557
|
-
# Set x-goog-api-client
|
563
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
558
564
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
559
565
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
560
566
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
561
567
|
transports_version_send: [:rest]
|
562
568
|
|
569
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
563
570
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
564
571
|
|
565
572
|
options.apply_defaults timeout: @config.rpcs.update_transition_route_group.timeout,
|
@@ -650,12 +657,13 @@ module Google
|
|
650
657
|
# Customize the options with defaults
|
651
658
|
call_metadata = @config.rpcs.delete_transition_route_group.metadata.to_h
|
652
659
|
|
653
|
-
# Set x-goog-api-client
|
660
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
654
661
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
655
662
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
656
663
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
657
664
|
transports_version_send: [:rest]
|
658
665
|
|
666
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
659
667
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
660
668
|
|
661
669
|
options.apply_defaults timeout: @config.rpcs.delete_transition_route_group.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Version Versions}.
|
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
|
|
@@ -262,10 +265,11 @@ module Google
|
|
262
265
|
# Customize the options with defaults
|
263
266
|
metadata = @config.rpcs.list_versions.metadata.to_h
|
264
267
|
|
265
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
266
269
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
267
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
268
271
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
272
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
269
273
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
270
274
|
|
271
275
|
header_params = {}
|
@@ -350,10 +354,11 @@ module Google
|
|
350
354
|
# Customize the options with defaults
|
351
355
|
metadata = @config.rpcs.get_version.metadata.to_h
|
352
356
|
|
353
|
-
# Set x-goog-api-client
|
357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
354
358
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
355
359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
356
360
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
361
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
357
362
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
358
363
|
|
359
364
|
header_params = {}
|
@@ -456,10 +461,11 @@ module Google
|
|
456
461
|
# Customize the options with defaults
|
457
462
|
metadata = @config.rpcs.create_version.metadata.to_h
|
458
463
|
|
459
|
-
# Set x-goog-api-client
|
464
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
460
465
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
461
466
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
462
467
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
468
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
463
469
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
464
470
|
|
465
471
|
header_params = {}
|
@@ -545,10 +551,11 @@ module Google
|
|
545
551
|
# Customize the options with defaults
|
546
552
|
metadata = @config.rpcs.update_version.metadata.to_h
|
547
553
|
|
548
|
-
# Set x-goog-api-client
|
554
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
549
555
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
550
556
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
551
557
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
558
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
552
559
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
553
560
|
|
554
561
|
header_params = {}
|
@@ -632,10 +639,11 @@ module Google
|
|
632
639
|
# Customize the options with defaults
|
633
640
|
metadata = @config.rpcs.delete_version.metadata.to_h
|
634
641
|
|
635
|
-
# Set x-goog-api-client
|
642
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
636
643
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
637
644
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
638
645
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
646
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
639
647
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
640
648
|
|
641
649
|
header_params = {}
|
@@ -740,10 +748,11 @@ module Google
|
|
740
748
|
# Customize the options with defaults
|
741
749
|
metadata = @config.rpcs.load_version.metadata.to_h
|
742
750
|
|
743
|
-
# Set x-goog-api-client
|
751
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
744
752
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
745
753
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
746
754
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
755
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
747
756
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
748
757
|
|
749
758
|
header_params = {}
|
@@ -843,10 +852,11 @@ module Google
|
|
843
852
|
# Customize the options with defaults
|
844
853
|
metadata = @config.rpcs.compare_versions.metadata.to_h
|
845
854
|
|
846
|
-
# Set x-goog-api-client
|
855
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
847
856
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
848
857
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
849
858
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
859
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
850
860
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
851
861
|
|
852
862
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Versions
|
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,
|