google-cloud-dialogflow-cx-v3 0.26.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Flow Flows}.
|
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
|
|
@@ -270,10 +273,11 @@ module Google
|
|
270
273
|
# Customize the options with defaults
|
271
274
|
metadata = @config.rpcs.create_flow.metadata.to_h
|
272
275
|
|
273
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
274
277
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
275
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
276
279
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
280
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
277
281
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
278
282
|
|
279
283
|
header_params = {}
|
@@ -368,10 +372,11 @@ module Google
|
|
368
372
|
# Customize the options with defaults
|
369
373
|
metadata = @config.rpcs.delete_flow.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 = {}
|
@@ -477,10 +482,11 @@ module Google
|
|
477
482
|
# Customize the options with defaults
|
478
483
|
metadata = @config.rpcs.list_flows.metadata.to_h
|
479
484
|
|
480
|
-
# Set x-goog-api-client
|
485
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
481
486
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
482
487
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
483
488
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
489
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
484
490
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
485
491
|
|
486
492
|
header_params = {}
|
@@ -579,10 +585,11 @@ module Google
|
|
579
585
|
# Customize the options with defaults
|
580
586
|
metadata = @config.rpcs.get_flow.metadata.to_h
|
581
587
|
|
582
|
-
# Set x-goog-api-client
|
588
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
583
589
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
584
590
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
585
591
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
592
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
586
593
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
587
594
|
|
588
595
|
header_params = {}
|
@@ -684,10 +691,11 @@ module Google
|
|
684
691
|
# Customize the options with defaults
|
685
692
|
metadata = @config.rpcs.update_flow.metadata.to_h
|
686
693
|
|
687
|
-
# Set x-goog-api-client
|
694
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
688
695
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
689
696
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
690
697
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
698
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
691
699
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
692
700
|
|
693
701
|
header_params = {}
|
@@ -792,10 +800,11 @@ module Google
|
|
792
800
|
# Customize the options with defaults
|
793
801
|
metadata = @config.rpcs.train_flow.metadata.to_h
|
794
802
|
|
795
|
-
# Set x-goog-api-client
|
803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
796
804
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
797
805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
798
806
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
807
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
799
808
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
800
809
|
|
801
810
|
header_params = {}
|
@@ -884,10 +893,11 @@ module Google
|
|
884
893
|
# Customize the options with defaults
|
885
894
|
metadata = @config.rpcs.validate_flow.metadata.to_h
|
886
895
|
|
887
|
-
# Set x-goog-api-client
|
896
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
888
897
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
889
898
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
890
899
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
900
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
891
901
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
892
902
|
|
893
903
|
header_params = {}
|
@@ -974,10 +984,11 @@ module Google
|
|
974
984
|
# Customize the options with defaults
|
975
985
|
metadata = @config.rpcs.get_flow_validation_result.metadata.to_h
|
976
986
|
|
977
|
-
# Set x-goog-api-client
|
987
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
978
988
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
979
989
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
980
990
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
991
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
981
992
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
982
993
|
|
983
994
|
header_params = {}
|
@@ -1097,10 +1108,11 @@ module Google
|
|
1097
1108
|
# Customize the options with defaults
|
1098
1109
|
metadata = @config.rpcs.import_flow.metadata.to_h
|
1099
1110
|
|
1100
|
-
# Set x-goog-api-client
|
1111
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1101
1112
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1102
1113
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1103
1114
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
1115
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1104
1116
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1105
1117
|
|
1106
1118
|
header_params = {}
|
@@ -1217,10 +1229,11 @@ module Google
|
|
1217
1229
|
# Customize the options with defaults
|
1218
1230
|
metadata = @config.rpcs.export_flow.metadata.to_h
|
1219
1231
|
|
1220
|
-
# Set x-goog-api-client
|
1232
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1221
1233
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1222
1234
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1223
1235
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
1236
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1224
1237
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1225
1238
|
|
1226
1239
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Flows
|
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,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Flow Flows}.
|
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
|
|
@@ -263,12 +266,13 @@ module Google
|
|
263
266
|
# Customize the options with defaults
|
264
267
|
call_metadata = @config.rpcs.create_flow.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
|
call_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,
|
270
273
|
transports_version_send: [:rest]
|
271
274
|
|
275
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
272
276
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
273
277
|
|
274
278
|
options.apply_defaults timeout: @config.rpcs.create_flow.timeout,
|
@@ -354,12 +358,13 @@ module Google
|
|
354
358
|
# Customize the options with defaults
|
355
359
|
call_metadata = @config.rpcs.delete_flow.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.delete_flow.timeout,
|
@@ -456,12 +461,13 @@ module Google
|
|
456
461
|
# Customize the options with defaults
|
457
462
|
call_metadata = @config.rpcs.list_flows.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
|
call_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,
|
463
468
|
transports_version_send: [:rest]
|
464
469
|
|
470
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
465
471
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
466
472
|
|
467
473
|
options.apply_defaults timeout: @config.rpcs.list_flows.timeout,
|
@@ -551,12 +557,13 @@ module Google
|
|
551
557
|
# Customize the options with defaults
|
552
558
|
call_metadata = @config.rpcs.get_flow.metadata.to_h
|
553
559
|
|
554
|
-
# Set x-goog-api-client
|
560
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
555
561
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
556
562
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
557
563
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
558
564
|
transports_version_send: [:rest]
|
559
565
|
|
566
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
560
567
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
561
568
|
|
562
569
|
options.apply_defaults timeout: @config.rpcs.get_flow.timeout,
|
@@ -649,12 +656,13 @@ module Google
|
|
649
656
|
# Customize the options with defaults
|
650
657
|
call_metadata = @config.rpcs.update_flow.metadata.to_h
|
651
658
|
|
652
|
-
# Set x-goog-api-client
|
659
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
653
660
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
654
661
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
655
662
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
656
663
|
transports_version_send: [:rest]
|
657
664
|
|
665
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
658
666
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
659
667
|
|
660
668
|
options.apply_defaults timeout: @config.rpcs.update_flow.timeout,
|
@@ -750,12 +758,13 @@ module Google
|
|
750
758
|
# Customize the options with defaults
|
751
759
|
call_metadata = @config.rpcs.train_flow.metadata.to_h
|
752
760
|
|
753
|
-
# Set x-goog-api-client
|
761
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
754
762
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
755
763
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
756
764
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
757
765
|
transports_version_send: [:rest]
|
758
766
|
|
767
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
759
768
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
760
769
|
|
761
770
|
options.apply_defaults timeout: @config.rpcs.train_flow.timeout,
|
@@ -835,12 +844,13 @@ module Google
|
|
835
844
|
# Customize the options with defaults
|
836
845
|
call_metadata = @config.rpcs.validate_flow.metadata.to_h
|
837
846
|
|
838
|
-
# Set x-goog-api-client
|
847
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
839
848
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
840
849
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
841
850
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
842
851
|
transports_version_send: [:rest]
|
843
852
|
|
853
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
844
854
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
845
855
|
|
846
856
|
options.apply_defaults timeout: @config.rpcs.validate_flow.timeout,
|
@@ -918,12 +928,13 @@ module Google
|
|
918
928
|
# Customize the options with defaults
|
919
929
|
call_metadata = @config.rpcs.get_flow_validation_result.metadata.to_h
|
920
930
|
|
921
|
-
# Set x-goog-api-client
|
931
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
922
932
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
923
933
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
924
934
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
925
935
|
transports_version_send: [:rest]
|
926
936
|
|
937
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
927
938
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
928
939
|
|
929
940
|
options.apply_defaults timeout: @config.rpcs.get_flow_validation_result.timeout,
|
@@ -1034,12 +1045,13 @@ module Google
|
|
1034
1045
|
# Customize the options with defaults
|
1035
1046
|
call_metadata = @config.rpcs.import_flow.metadata.to_h
|
1036
1047
|
|
1037
|
-
# Set x-goog-api-client
|
1048
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1038
1049
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1039
1050
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1040
1051
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
1041
1052
|
transports_version_send: [:rest]
|
1042
1053
|
|
1054
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1043
1055
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1044
1056
|
|
1045
1057
|
options.apply_defaults timeout: @config.rpcs.import_flow.timeout,
|
@@ -1147,12 +1159,13 @@ module Google
|
|
1147
1159
|
# Customize the options with defaults
|
1148
1160
|
call_metadata = @config.rpcs.export_flow.metadata.to_h
|
1149
1161
|
|
1150
|
-
# Set x-goog-api-client
|
1162
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1151
1163
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1152
1164
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1153
1165
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
1154
1166
|
transports_version_send: [:rest]
|
1155
1167
|
|
1168
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1156
1169
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1157
1170
|
|
1158
1171
|
options.apply_defaults timeout: @config.rpcs.export_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::Generator Generators}
|
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
|
|
@@ -248,10 +251,11 @@ module Google
|
|
248
251
|
# Customize the options with defaults
|
249
252
|
metadata = @config.rpcs.list_generators.metadata.to_h
|
250
253
|
|
251
|
-
# Set x-goog-api-client
|
254
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
252
255
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
253
256
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
254
257
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
258
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
255
259
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
256
260
|
|
257
261
|
header_params = {}
|
@@ -338,10 +342,11 @@ module Google
|
|
338
342
|
# Customize the options with defaults
|
339
343
|
metadata = @config.rpcs.get_generator.metadata.to_h
|
340
344
|
|
341
|
-
# Set x-goog-api-client
|
345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
342
346
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
343
347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
344
348
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
349
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
350
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
351
|
|
347
352
|
header_params = {}
|
@@ -430,10 +435,11 @@ module Google
|
|
430
435
|
# Customize the options with defaults
|
431
436
|
metadata = @config.rpcs.create_generator.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 = {}
|
@@ -520,10 +526,11 @@ module Google
|
|
520
526
|
# Customize the options with defaults
|
521
527
|
metadata = @config.rpcs.update_generator.metadata.to_h
|
522
528
|
|
523
|
-
# Set x-goog-api-client
|
529
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
524
530
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
525
531
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
526
532
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
533
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
527
534
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
528
535
|
|
529
536
|
header_params = {}
|
@@ -616,10 +623,11 @@ module Google
|
|
616
623
|
# Customize the options with defaults
|
617
624
|
metadata = @config.rpcs.delete_generator.metadata.to_h
|
618
625
|
|
619
|
-
# Set x-goog-api-client
|
626
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
620
627
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
621
628
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
622
629
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
630
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
623
631
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
624
632
|
|
625
633
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Generator Generators}
|
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
|
|
@@ -241,12 +244,13 @@ module Google
|
|
241
244
|
# Customize the options with defaults
|
242
245
|
call_metadata = @config.rpcs.list_generators.metadata.to_h
|
243
246
|
|
244
|
-
# Set x-goog-api-client
|
247
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
245
248
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
246
249
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
247
250
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
248
251
|
transports_version_send: [:rest]
|
249
252
|
|
253
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
250
254
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
251
255
|
|
252
256
|
options.apply_defaults timeout: @config.rpcs.list_generators.timeout,
|
@@ -324,12 +328,13 @@ module Google
|
|
324
328
|
# Customize the options with defaults
|
325
329
|
call_metadata = @config.rpcs.get_generator.metadata.to_h
|
326
330
|
|
327
|
-
# Set x-goog-api-client
|
331
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
328
332
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
329
333
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
330
334
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
331
335
|
transports_version_send: [:rest]
|
332
336
|
|
337
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
333
338
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
334
339
|
|
335
340
|
options.apply_defaults timeout: @config.rpcs.get_generator.timeout,
|
@@ -409,12 +414,13 @@ module Google
|
|
409
414
|
# Customize the options with defaults
|
410
415
|
call_metadata = @config.rpcs.create_generator.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_generator.timeout,
|
@@ -492,12 +498,13 @@ module Google
|
|
492
498
|
# Customize the options with defaults
|
493
499
|
call_metadata = @config.rpcs.update_generator.metadata.to_h
|
494
500
|
|
495
|
-
# Set x-goog-api-client
|
501
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
496
502
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
497
503
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
498
504
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
499
505
|
transports_version_send: [:rest]
|
500
506
|
|
507
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
501
508
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
502
509
|
|
503
510
|
options.apply_defaults timeout: @config.rpcs.update_generator.timeout,
|
@@ -581,12 +588,13 @@ module Google
|
|
581
588
|
# Customize the options with defaults
|
582
589
|
call_metadata = @config.rpcs.delete_generator.metadata.to_h
|
583
590
|
|
584
|
-
# Set x-goog-api-client
|
591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
585
592
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
586
593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
587
594
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
588
595
|
transports_version_send: [:rest]
|
589
596
|
|
597
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
590
598
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
591
599
|
|
592
600
|
options.apply_defaults timeout: @config.rpcs.delete_generator.timeout,
|