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
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Intent Intents}.
|
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
|
|
@@ -266,12 +269,13 @@ module Google
|
|
266
269
|
# Customize the options with defaults
|
267
270
|
call_metadata = @config.rpcs.list_intents.metadata.to_h
|
268
271
|
|
269
|
-
# Set x-goog-api-client
|
272
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
270
273
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
271
274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
272
275
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
273
276
|
transports_version_send: [:rest]
|
274
277
|
|
278
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
275
279
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
276
280
|
|
277
281
|
options.apply_defaults timeout: @config.rpcs.list_intents.timeout,
|
@@ -358,12 +362,13 @@ module Google
|
|
358
362
|
# Customize the options with defaults
|
359
363
|
call_metadata = @config.rpcs.get_intent.metadata.to_h
|
360
364
|
|
361
|
-
# Set x-goog-api-client
|
365
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
362
366
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
363
367
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
364
368
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
365
369
|
transports_version_send: [:rest]
|
366
370
|
|
371
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
367
372
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
368
373
|
|
369
374
|
options.apply_defaults timeout: @config.rpcs.get_intent.timeout,
|
@@ -453,12 +458,13 @@ module Google
|
|
453
458
|
# Customize the options with defaults
|
454
459
|
call_metadata = @config.rpcs.create_intent.metadata.to_h
|
455
460
|
|
456
|
-
# Set x-goog-api-client
|
461
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
457
462
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
458
463
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
459
464
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
460
465
|
transports_version_send: [:rest]
|
461
466
|
|
467
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
462
468
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
463
469
|
|
464
470
|
options.apply_defaults timeout: @config.rpcs.create_intent.timeout,
|
@@ -548,12 +554,13 @@ module Google
|
|
548
554
|
# Customize the options with defaults
|
549
555
|
call_metadata = @config.rpcs.update_intent.metadata.to_h
|
550
556
|
|
551
|
-
# Set x-goog-api-client
|
557
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
552
558
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
553
559
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
554
560
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
555
561
|
transports_version_send: [:rest]
|
556
562
|
|
563
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
557
564
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
558
565
|
|
559
566
|
options.apply_defaults timeout: @config.rpcs.update_intent.timeout,
|
@@ -632,12 +639,13 @@ module Google
|
|
632
639
|
# Customize the options with defaults
|
633
640
|
call_metadata = @config.rpcs.delete_intent.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
|
call_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,
|
639
646
|
transports_version_send: [:rest]
|
640
647
|
|
648
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
641
649
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
642
650
|
|
643
651
|
options.apply_defaults timeout: @config.rpcs.delete_intent.timeout,
|
@@ -741,12 +749,13 @@ module Google
|
|
741
749
|
# Customize the options with defaults
|
742
750
|
call_metadata = @config.rpcs.import_intents.metadata.to_h
|
743
751
|
|
744
|
-
# Set x-goog-api-client
|
752
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
745
753
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
746
754
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
747
755
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
748
756
|
transports_version_send: [:rest]
|
749
757
|
|
758
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
750
759
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
751
760
|
|
752
761
|
options.apply_defaults timeout: @config.rpcs.import_intents.timeout,
|
@@ -858,12 +867,13 @@ module Google
|
|
858
867
|
# Customize the options with defaults
|
859
868
|
call_metadata = @config.rpcs.export_intents.metadata.to_h
|
860
869
|
|
861
|
-
# Set x-goog-api-client
|
870
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
862
871
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
863
872
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
864
873
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
865
874
|
transports_version_send: [:rest]
|
866
875
|
|
876
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
867
877
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
868
878
|
|
869
879
|
options.apply_defaults timeout: @config.rpcs.export_intents.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::Page Pages}.
|
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
|
|
@@ -269,10 +272,11 @@ module Google
|
|
269
272
|
# Customize the options with defaults
|
270
273
|
metadata = @config.rpcs.list_pages.metadata.to_h
|
271
274
|
|
272
|
-
# Set x-goog-api-client
|
275
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
276
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
277
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
278
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
279
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
276
280
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
277
281
|
|
278
282
|
header_params = {}
|
@@ -379,10 +383,11 @@ module Google
|
|
379
383
|
# Customize the options with defaults
|
380
384
|
metadata = @config.rpcs.get_page.metadata.to_h
|
381
385
|
|
382
|
-
# Set x-goog-api-client
|
386
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
383
387
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
384
388
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
385
389
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
390
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
386
391
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
387
392
|
|
388
393
|
header_params = {}
|
@@ -493,10 +498,11 @@ module Google
|
|
493
498
|
# Customize the options with defaults
|
494
499
|
metadata = @config.rpcs.create_page.metadata.to_h
|
495
500
|
|
496
|
-
# Set x-goog-api-client
|
501
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
497
502
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
498
503
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
499
504
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
505
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
500
506
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
501
507
|
|
502
508
|
header_params = {}
|
@@ -606,10 +612,11 @@ module Google
|
|
606
612
|
# Customize the options with defaults
|
607
613
|
metadata = @config.rpcs.update_page.metadata.to_h
|
608
614
|
|
609
|
-
# Set x-goog-api-client
|
615
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
610
616
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
611
617
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
612
618
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
619
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
613
620
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
614
621
|
|
615
622
|
header_params = {}
|
@@ -708,10 +715,11 @@ module Google
|
|
708
715
|
# Customize the options with defaults
|
709
716
|
metadata = @config.rpcs.delete_page.metadata.to_h
|
710
717
|
|
711
|
-
# Set x-goog-api-client
|
718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
712
719
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
713
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
714
721
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
722
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
715
723
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
716
724
|
|
717
725
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Page Pages}.
|
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
|
|
@@ -262,12 +265,13 @@ module Google
|
|
262
265
|
# Customize the options with defaults
|
263
266
|
call_metadata = @config.rpcs.list_pages.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
|
call_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,
|
269
272
|
transports_version_send: [:rest]
|
270
273
|
|
274
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
271
275
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
272
276
|
|
273
277
|
options.apply_defaults timeout: @config.rpcs.list_pages.timeout,
|
@@ -365,12 +369,13 @@ module Google
|
|
365
369
|
# Customize the options with defaults
|
366
370
|
call_metadata = @config.rpcs.get_page.metadata.to_h
|
367
371
|
|
368
|
-
# Set x-goog-api-client
|
372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
369
373
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
370
374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
371
375
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
372
376
|
transports_version_send: [:rest]
|
373
377
|
|
378
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
374
379
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
375
380
|
|
376
381
|
options.apply_defaults timeout: @config.rpcs.get_page.timeout,
|
@@ -472,12 +477,13 @@ module Google
|
|
472
477
|
# Customize the options with defaults
|
473
478
|
call_metadata = @config.rpcs.create_page.metadata.to_h
|
474
479
|
|
475
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
476
481
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
477
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
478
483
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
479
484
|
transports_version_send: [:rest]
|
480
485
|
|
486
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
481
487
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
482
488
|
|
483
489
|
options.apply_defaults timeout: @config.rpcs.create_page.timeout,
|
@@ -578,12 +584,13 @@ module Google
|
|
578
584
|
# Customize the options with defaults
|
579
585
|
call_metadata = @config.rpcs.update_page.metadata.to_h
|
580
586
|
|
581
|
-
# Set x-goog-api-client
|
587
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
582
588
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
583
589
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
584
590
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
585
591
|
transports_version_send: [:rest]
|
586
592
|
|
593
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
587
594
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
588
595
|
|
589
596
|
options.apply_defaults timeout: @config.rpcs.update_page.timeout,
|
@@ -673,12 +680,13 @@ module Google
|
|
673
680
|
# Customize the options with defaults
|
674
681
|
call_metadata = @config.rpcs.delete_page.metadata.to_h
|
675
682
|
|
676
|
-
# Set x-goog-api-client
|
683
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
677
684
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
678
685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
679
686
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
680
687
|
transports_version_send: [:rest]
|
681
688
|
|
689
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
682
690
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
683
691
|
|
684
692
|
options.apply_defaults timeout: @config.rpcs.delete_page.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing security settings for Dialogflow.
|
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
|
|
@@ -240,10 +243,11 @@ module Google
|
|
240
243
|
# Customize the options with defaults
|
241
244
|
metadata = @config.rpcs.create_security_settings.metadata.to_h
|
242
245
|
|
243
|
-
# Set x-goog-api-client
|
246
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
244
247
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
245
248
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
246
249
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
250
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
247
251
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
248
252
|
|
249
253
|
header_params = {}
|
@@ -329,10 +333,11 @@ module Google
|
|
329
333
|
# Customize the options with defaults
|
330
334
|
metadata = @config.rpcs.get_security_settings.metadata.to_h
|
331
335
|
|
332
|
-
# Set x-goog-api-client
|
336
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
333
337
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
334
338
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
335
339
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
340
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
336
341
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
337
342
|
|
338
343
|
header_params = {}
|
@@ -419,10 +424,11 @@ module Google
|
|
419
424
|
# Customize the options with defaults
|
420
425
|
metadata = @config.rpcs.update_security_settings.metadata.to_h
|
421
426
|
|
422
|
-
# Set x-goog-api-client
|
427
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
423
428
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
424
429
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
425
430
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
431
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
426
432
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
427
433
|
|
428
434
|
header_params = {}
|
@@ -514,10 +520,11 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
metadata = @config.rpcs.list_security_settings.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
527
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
521
528
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
522
529
|
|
523
530
|
header_params = {}
|
@@ -604,10 +611,11 @@ module Google
|
|
604
611
|
# Customize the options with defaults
|
605
612
|
metadata = @config.rpcs.delete_security_settings.metadata.to_h
|
606
613
|
|
607
|
-
# Set x-goog-api-client
|
614
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
608
615
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
609
616
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
610
617
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
618
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
611
619
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
612
620
|
|
613
621
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing security settings for Dialogflow.
|
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
|
|
@@ -233,12 +236,13 @@ module Google
|
|
233
236
|
# Customize the options with defaults
|
234
237
|
call_metadata = @config.rpcs.create_security_settings.metadata.to_h
|
235
238
|
|
236
|
-
# Set x-goog-api-client
|
239
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
237
240
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
238
241
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
239
242
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
240
243
|
transports_version_send: [:rest]
|
241
244
|
|
245
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
242
246
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
243
247
|
|
244
248
|
options.apply_defaults timeout: @config.rpcs.create_security_settings.timeout,
|
@@ -315,12 +319,13 @@ module Google
|
|
315
319
|
# Customize the options with defaults
|
316
320
|
call_metadata = @config.rpcs.get_security_settings.metadata.to_h
|
317
321
|
|
318
|
-
# Set x-goog-api-client
|
322
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
319
323
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
320
324
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
321
325
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
322
326
|
transports_version_send: [:rest]
|
323
327
|
|
328
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
324
329
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
325
330
|
|
326
331
|
options.apply_defaults timeout: @config.rpcs.get_security_settings.timeout,
|
@@ -398,12 +403,13 @@ module Google
|
|
398
403
|
# Customize the options with defaults
|
399
404
|
call_metadata = @config.rpcs.update_security_settings.metadata.to_h
|
400
405
|
|
401
|
-
# Set x-goog-api-client
|
406
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
402
407
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
403
408
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
404
409
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
405
410
|
transports_version_send: [:rest]
|
406
411
|
|
412
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
407
413
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
408
414
|
|
409
415
|
options.apply_defaults timeout: @config.rpcs.update_security_settings.timeout,
|
@@ -486,12 +492,13 @@ module Google
|
|
486
492
|
# Customize the options with defaults
|
487
493
|
call_metadata = @config.rpcs.list_security_settings.metadata.to_h
|
488
494
|
|
489
|
-
# Set x-goog-api-client
|
495
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
490
496
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
491
497
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
492
498
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
493
499
|
transports_version_send: [:rest]
|
494
500
|
|
501
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
495
502
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
496
503
|
|
497
504
|
options.apply_defaults timeout: @config.rpcs.list_security_settings.timeout,
|
@@ -569,12 +576,13 @@ module Google
|
|
569
576
|
# Customize the options with defaults
|
570
577
|
call_metadata = @config.rpcs.delete_security_settings.metadata.to_h
|
571
578
|
|
572
|
-
# Set x-goog-api-client
|
579
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
573
580
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
574
581
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
575
582
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
576
583
|
transports_version_send: [:rest]
|
577
584
|
|
585
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
578
586
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
579
587
|
|
580
588
|
options.apply_defaults timeout: @config.rpcs.delete_security_settings.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# {::Google::Cloud::Dialogflow::CX::V3::SessionEntityType SessionEntityTypes}.
|
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
|
|
@@ -251,10 +254,11 @@ module Google
|
|
251
254
|
# Customize the options with defaults
|
252
255
|
metadata = @config.rpcs.list_session_entity_types.metadata.to_h
|
253
256
|
|
254
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
257
260
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
259
263
|
|
260
264
|
header_params = {}
|
@@ -343,10 +347,11 @@ module Google
|
|
343
347
|
# Customize the options with defaults
|
344
348
|
metadata = @config.rpcs.get_session_entity_type.metadata.to_h
|
345
349
|
|
346
|
-
# Set x-goog-api-client
|
350
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
347
351
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
348
352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
349
353
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
354
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
350
355
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
351
356
|
|
352
357
|
header_params = {}
|
@@ -435,10 +440,11 @@ module Google
|
|
435
440
|
# Customize the options with defaults
|
436
441
|
metadata = @config.rpcs.create_session_entity_type.metadata.to_h
|
437
442
|
|
438
|
-
# Set x-goog-api-client
|
443
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
439
444
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
440
445
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
441
446
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
447
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
442
448
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
443
449
|
|
444
450
|
header_params = {}
|
@@ -528,10 +534,11 @@ module Google
|
|
528
534
|
# Customize the options with defaults
|
529
535
|
metadata = @config.rpcs.update_session_entity_type.metadata.to_h
|
530
536
|
|
531
|
-
# Set x-goog-api-client
|
537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
532
538
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
533
539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
534
540
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
541
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
535
542
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
536
543
|
|
537
544
|
header_params = {}
|
@@ -619,10 +626,11 @@ module Google
|
|
619
626
|
# Customize the options with defaults
|
620
627
|
metadata = @config.rpcs.delete_session_entity_type.metadata.to_h
|
621
628
|
|
622
|
-
# Set x-goog-api-client
|
629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
623
630
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
624
631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
625
632
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
633
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
626
634
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
627
635
|
|
628
636
|
header_params = {}
|