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::SessionEntityType SessionEntityTypes}.
|
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
|
|
@@ -244,12 +247,13 @@ module Google
|
|
244
247
|
# Customize the options with defaults
|
245
248
|
call_metadata = @config.rpcs.list_session_entity_types.metadata.to_h
|
246
249
|
|
247
|
-
# Set x-goog-api-client
|
250
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
248
251
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
249
252
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
250
253
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
251
254
|
transports_version_send: [:rest]
|
252
255
|
|
256
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
253
257
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
254
258
|
|
255
259
|
options.apply_defaults timeout: @config.rpcs.list_session_entity_types.timeout,
|
@@ -329,12 +333,13 @@ module Google
|
|
329
333
|
# Customize the options with defaults
|
330
334
|
call_metadata = @config.rpcs.get_session_entity_type.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
|
call_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,
|
336
340
|
transports_version_send: [:rest]
|
337
341
|
|
342
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
338
343
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
339
344
|
|
340
345
|
options.apply_defaults timeout: @config.rpcs.get_session_entity_type.timeout,
|
@@ -414,12 +419,13 @@ module Google
|
|
414
419
|
# Customize the options with defaults
|
415
420
|
call_metadata = @config.rpcs.create_session_entity_type.metadata.to_h
|
416
421
|
|
417
|
-
# Set x-goog-api-client
|
422
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
418
423
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
419
424
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
420
425
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
421
426
|
transports_version_send: [:rest]
|
422
427
|
|
428
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
423
429
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
424
430
|
|
425
431
|
options.apply_defaults timeout: @config.rpcs.create_session_entity_type.timeout,
|
@@ -500,12 +506,13 @@ module Google
|
|
500
506
|
# Customize the options with defaults
|
501
507
|
call_metadata = @config.rpcs.update_session_entity_type.metadata.to_h
|
502
508
|
|
503
|
-
# Set x-goog-api-client
|
509
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
504
510
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
505
511
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
506
512
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
507
513
|
transports_version_send: [:rest]
|
508
514
|
|
515
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
509
516
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
510
517
|
|
511
518
|
options.apply_defaults timeout: @config.rpcs.update_session_entity_type.timeout,
|
@@ -584,12 +591,13 @@ module Google
|
|
584
591
|
# Customize the options with defaults
|
585
592
|
call_metadata = @config.rpcs.delete_session_entity_type.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.delete_session_entity_type.timeout,
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# determine user intent and respond.
|
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
|
|
@@ -276,10 +279,11 @@ module Google
|
|
276
279
|
# Customize the options with defaults
|
277
280
|
metadata = @config.rpcs.detect_intent.metadata.to_h
|
278
281
|
|
279
|
-
# Set x-goog-api-client
|
282
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
280
283
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
281
284
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
282
285
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
286
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
283
287
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
284
288
|
|
285
289
|
header_params = {}
|
@@ -389,10 +393,11 @@ module Google
|
|
389
393
|
# Customize the options with defaults
|
390
394
|
metadata = @config.rpcs.server_streaming_detect_intent.metadata.to_h
|
391
395
|
|
392
|
-
# Set x-goog-api-client
|
396
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
393
397
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
394
398
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
395
399
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
400
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
396
401
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
397
402
|
|
398
403
|
header_params = {}
|
@@ -481,10 +486,11 @@ module Google
|
|
481
486
|
# Customize the options with defaults
|
482
487
|
metadata = @config.rpcs.streaming_detect_intent.metadata.to_h
|
483
488
|
|
484
|
-
# Set x-goog-api-client
|
489
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
485
490
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
486
491
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
487
492
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
493
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
488
494
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
489
495
|
|
490
496
|
options.apply_defaults timeout: @config.rpcs.streaming_detect_intent.timeout,
|
@@ -576,10 +582,11 @@ module Google
|
|
576
582
|
# Customize the options with defaults
|
577
583
|
metadata = @config.rpcs.match_intent.metadata.to_h
|
578
584
|
|
579
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
580
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
581
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
582
588
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
583
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
584
591
|
|
585
592
|
header_params = {}
|
@@ -672,10 +679,11 @@ module Google
|
|
672
679
|
# Customize the options with defaults
|
673
680
|
metadata = @config.rpcs.fulfill_intent.metadata.to_h
|
674
681
|
|
675
|
-
# Set x-goog-api-client
|
682
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
676
683
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
677
684
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
678
685
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
686
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
679
687
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
680
688
|
|
681
689
|
header_params = {}
|
@@ -766,10 +774,11 @@ module Google
|
|
766
774
|
# Customize the options with defaults
|
767
775
|
metadata = @config.rpcs.submit_answer_feedback.metadata.to_h
|
768
776
|
|
769
|
-
# Set x-goog-api-client
|
777
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
770
778
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
771
779
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
772
780
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
781
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
773
782
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
774
783
|
|
775
784
|
header_params = {}
|
@@ -37,6 +37,9 @@ module Google
|
|
37
37
|
# determine user intent and respond.
|
38
38
|
#
|
39
39
|
class Client
|
40
|
+
# @private
|
41
|
+
API_VERSION = ""
|
42
|
+
|
40
43
|
# @private
|
41
44
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
42
45
|
|
@@ -267,12 +270,13 @@ module Google
|
|
267
270
|
# Customize the options with defaults
|
268
271
|
call_metadata = @config.rpcs.detect_intent.metadata.to_h
|
269
272
|
|
270
|
-
# Set x-goog-api-client
|
273
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
271
274
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
272
275
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
273
276
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
274
277
|
transports_version_send: [:rest]
|
275
278
|
|
279
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
276
280
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
277
281
|
|
278
282
|
options.apply_defaults timeout: @config.rpcs.detect_intent.timeout,
|
@@ -369,12 +373,13 @@ module Google
|
|
369
373
|
# Customize the options with defaults
|
370
374
|
call_metadata = @config.rpcs.server_streaming_detect_intent.metadata.to_h
|
371
375
|
|
372
|
-
# Set x-goog-api-client
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
373
377
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
374
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
375
379
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
376
380
|
transports_version_send: [:rest]
|
377
381
|
|
382
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
378
383
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
379
384
|
|
380
385
|
options.apply_defaults timeout: @config.rpcs.server_streaming_detect_intent.timeout,
|
@@ -470,12 +475,13 @@ module Google
|
|
470
475
|
# Customize the options with defaults
|
471
476
|
call_metadata = @config.rpcs.match_intent.metadata.to_h
|
472
477
|
|
473
|
-
# Set x-goog-api-client
|
478
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
479
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
480
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
481
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
477
482
|
transports_version_send: [:rest]
|
478
483
|
|
484
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
479
485
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
480
486
|
|
481
487
|
options.apply_defaults timeout: @config.rpcs.match_intent.timeout,
|
@@ -559,12 +565,13 @@ module Google
|
|
559
565
|
# Customize the options with defaults
|
560
566
|
call_metadata = @config.rpcs.fulfill_intent.metadata.to_h
|
561
567
|
|
562
|
-
# Set x-goog-api-client
|
568
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
563
569
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
564
570
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
565
571
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
566
572
|
transports_version_send: [:rest]
|
567
573
|
|
574
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
568
575
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
569
576
|
|
570
577
|
options.apply_defaults timeout: @config.rpcs.fulfill_intent.timeout,
|
@@ -646,12 +653,13 @@ module Google
|
|
646
653
|
# Customize the options with defaults
|
647
654
|
call_metadata = @config.rpcs.submit_answer_feedback.metadata.to_h
|
648
655
|
|
649
|
-
# Set x-goog-api-client
|
656
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
650
657
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
651
658
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
652
659
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
653
660
|
transports_version_send: [:rest]
|
654
661
|
|
662
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
655
663
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
656
664
|
|
657
665
|
options.apply_defaults timeout: @config.rpcs.submit_answer_feedback.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# {::Google::Cloud::Dialogflow::CX::V3::TestCaseResult Test Case Results}.
|
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
|
|
@@ -264,10 +267,11 @@ module Google
|
|
264
267
|
# Customize the options with defaults
|
265
268
|
metadata = @config.rpcs.list_test_cases.metadata.to_h
|
266
269
|
|
267
|
-
# Set x-goog-api-client
|
270
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
268
271
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
269
272
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
270
273
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
274
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
271
275
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
272
276
|
|
273
277
|
header_params = {}
|
@@ -354,10 +358,11 @@ module Google
|
|
354
358
|
# Customize the options with defaults
|
355
359
|
metadata = @config.rpcs.batch_delete_test_cases.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
|
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
|
365
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
366
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
367
|
|
363
368
|
header_params = {}
|
@@ -441,10 +446,11 @@ module Google
|
|
441
446
|
# Customize the options with defaults
|
442
447
|
metadata = @config.rpcs.get_test_case.metadata.to_h
|
443
448
|
|
444
|
-
# Set x-goog-api-client
|
449
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
445
450
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
446
451
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
447
452
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
453
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
448
454
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
455
|
|
450
456
|
header_params = {}
|
@@ -529,10 +535,11 @@ module Google
|
|
529
535
|
# Customize the options with defaults
|
530
536
|
metadata = @config.rpcs.create_test_case.metadata.to_h
|
531
537
|
|
532
|
-
# Set x-goog-api-client
|
538
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
533
539
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
534
540
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
535
541
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
542
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
536
543
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
537
544
|
|
538
545
|
header_params = {}
|
@@ -619,10 +626,11 @@ module Google
|
|
619
626
|
# Customize the options with defaults
|
620
627
|
metadata = @config.rpcs.update_test_case.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 = {}
|
@@ -725,10 +733,11 @@ module Google
|
|
725
733
|
# Customize the options with defaults
|
726
734
|
metadata = @config.rpcs.run_test_case.metadata.to_h
|
727
735
|
|
728
|
-
# Set x-goog-api-client
|
736
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
729
737
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
730
738
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
731
739
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
740
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
732
741
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
733
742
|
|
734
743
|
header_params = {}
|
@@ -835,10 +844,11 @@ module Google
|
|
835
844
|
# Customize the options with defaults
|
836
845
|
metadata = @config.rpcs.batch_run_test_cases.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
|
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
|
851
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
842
852
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
843
853
|
|
844
854
|
header_params = {}
|
@@ -924,10 +934,11 @@ module Google
|
|
924
934
|
# Customize the options with defaults
|
925
935
|
metadata = @config.rpcs.calculate_coverage.metadata.to_h
|
926
936
|
|
927
|
-
# Set x-goog-api-client
|
937
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
928
938
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
929
939
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
930
940
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
941
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
931
942
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
932
943
|
|
933
944
|
header_params = {}
|
@@ -1040,10 +1051,11 @@ module Google
|
|
1040
1051
|
# Customize the options with defaults
|
1041
1052
|
metadata = @config.rpcs.import_test_cases.metadata.to_h
|
1042
1053
|
|
1043
|
-
# Set x-goog-api-client
|
1054
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1044
1055
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1045
1056
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1046
1057
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
1058
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1047
1059
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1048
1060
|
|
1049
1061
|
header_params = {}
|
@@ -1169,10 +1181,11 @@ module Google
|
|
1169
1181
|
# Customize the options with defaults
|
1170
1182
|
metadata = @config.rpcs.export_test_cases.metadata.to_h
|
1171
1183
|
|
1172
|
-
# Set x-goog-api-client
|
1184
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1173
1185
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1174
1186
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1175
1187
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
1188
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1176
1189
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1177
1190
|
|
1178
1191
|
header_params = {}
|
@@ -1293,10 +1306,11 @@ module Google
|
|
1293
1306
|
# Customize the options with defaults
|
1294
1307
|
metadata = @config.rpcs.list_test_case_results.metadata.to_h
|
1295
1308
|
|
1296
|
-
# Set x-goog-api-client
|
1309
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1297
1310
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1298
1311
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1299
1312
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
1313
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1300
1314
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1301
1315
|
|
1302
1316
|
header_params = {}
|
@@ -1381,10 +1395,11 @@ module Google
|
|
1381
1395
|
# Customize the options with defaults
|
1382
1396
|
metadata = @config.rpcs.get_test_case_result.metadata.to_h
|
1383
1397
|
|
1384
|
-
# Set x-goog-api-client
|
1398
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1385
1399
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1386
1400
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1387
1401
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
1402
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1388
1403
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1389
1404
|
|
1390
1405
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module TestCases
|
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,
|