google-cloud-dialogflow-v2 0.33.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/v2/agents/client.rb +21 -9
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +21 -9
- data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +7 -2
- data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +15 -6
- data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +15 -6
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +21 -9
- data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +21 -9
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +17 -7
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +19 -8
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +19 -8
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +19 -8
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +19 -8
- data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +23 -10
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +23 -10
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +15 -6
- data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +15 -6
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +7 -2
- data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +17 -7
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +21 -9
- data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +19 -8
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +7 -2
- data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +5 -1
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +13 -5
- data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +13 -5
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +12 -0
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +6 -0
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +2 -2
- metadata +2 -2
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module ConversationModels
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# Manages a collection of models for human agent assistant.
|
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
|
|
@@ -261,12 +264,13 @@ module Google
|
|
261
264
|
# Customize the options with defaults
|
262
265
|
call_metadata = @config.rpcs.create_conversation_model.metadata.to_h
|
263
266
|
|
264
|
-
# Set x-goog-api-client
|
267
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
265
268
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
266
269
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
267
270
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
268
271
|
transports_version_send: [:rest]
|
269
272
|
|
273
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
270
274
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
271
275
|
|
272
276
|
options.apply_defaults timeout: @config.rpcs.create_conversation_model.timeout,
|
@@ -341,12 +345,13 @@ module Google
|
|
341
345
|
# Customize the options with defaults
|
342
346
|
call_metadata = @config.rpcs.get_conversation_model.metadata.to_h
|
343
347
|
|
344
|
-
# Set x-goog-api-client
|
348
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
345
349
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
346
350
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
347
351
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
348
352
|
transports_version_send: [:rest]
|
349
353
|
|
354
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
350
355
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
351
356
|
|
352
357
|
options.apply_defaults timeout: @config.rpcs.get_conversation_model.timeout,
|
@@ -429,12 +434,13 @@ module Google
|
|
429
434
|
# Customize the options with defaults
|
430
435
|
call_metadata = @config.rpcs.list_conversation_models.metadata.to_h
|
431
436
|
|
432
|
-
# Set x-goog-api-client
|
437
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
433
438
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
434
439
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
435
440
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
436
441
|
transports_version_send: [:rest]
|
437
442
|
|
443
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
438
444
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
439
445
|
|
440
446
|
options.apply_defaults timeout: @config.rpcs.list_conversation_models.timeout,
|
@@ -525,12 +531,13 @@ module Google
|
|
525
531
|
# Customize the options with defaults
|
526
532
|
call_metadata = @config.rpcs.delete_conversation_model.metadata.to_h
|
527
533
|
|
528
|
-
# Set x-goog-api-client
|
534
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
529
535
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
530
536
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
531
537
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
532
538
|
transports_version_send: [:rest]
|
533
539
|
|
540
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
534
541
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
535
542
|
|
536
543
|
options.apply_defaults timeout: @config.rpcs.delete_conversation_model.timeout,
|
@@ -624,12 +631,13 @@ module Google
|
|
624
631
|
# Customize the options with defaults
|
625
632
|
call_metadata = @config.rpcs.deploy_conversation_model.metadata.to_h
|
626
633
|
|
627
|
-
# Set x-goog-api-client
|
634
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
628
635
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
629
636
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
630
637
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
631
638
|
transports_version_send: [:rest]
|
632
639
|
|
640
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
633
641
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
634
642
|
|
635
643
|
options.apply_defaults timeout: @config.rpcs.deploy_conversation_model.timeout,
|
@@ -723,12 +731,13 @@ module Google
|
|
723
731
|
# Customize the options with defaults
|
724
732
|
call_metadata = @config.rpcs.undeploy_conversation_model.metadata.to_h
|
725
733
|
|
726
|
-
# Set x-goog-api-client
|
734
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
727
735
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
728
736
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
729
737
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
730
738
|
transports_version_send: [:rest]
|
731
739
|
|
740
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
732
741
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
733
742
|
|
734
743
|
options.apply_defaults timeout: @config.rpcs.undeploy_conversation_model.timeout,
|
@@ -804,12 +813,13 @@ module Google
|
|
804
813
|
# Customize the options with defaults
|
805
814
|
call_metadata = @config.rpcs.get_conversation_model_evaluation.metadata.to_h
|
806
815
|
|
807
|
-
# Set x-goog-api-client
|
816
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
808
817
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
809
818
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
810
819
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
811
820
|
transports_version_send: [:rest]
|
812
821
|
|
822
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
813
823
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
814
824
|
|
815
825
|
options.apply_defaults timeout: @config.rpcs.get_conversation_model_evaluation.timeout,
|
@@ -892,12 +902,13 @@ module Google
|
|
892
902
|
# Customize the options with defaults
|
893
903
|
call_metadata = @config.rpcs.list_conversation_model_evaluations.metadata.to_h
|
894
904
|
|
895
|
-
# Set x-goog-api-client
|
905
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
896
906
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
897
907
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
898
908
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
899
909
|
transports_version_send: [:rest]
|
900
910
|
|
911
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
901
912
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
902
913
|
|
903
914
|
options.apply_defaults timeout: @config.rpcs.list_conversation_model_evaluations.timeout,
|
@@ -982,12 +993,13 @@ module Google
|
|
982
993
|
# Customize the options with defaults
|
983
994
|
call_metadata = @config.rpcs.create_conversation_model_evaluation.metadata.to_h
|
984
995
|
|
985
|
-
# Set x-goog-api-client
|
996
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
986
997
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
987
998
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
988
999
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
989
1000
|
transports_version_send: [:rest]
|
990
1001
|
|
1002
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
991
1003
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
992
1004
|
|
993
1005
|
options.apply_defaults timeout: @config.rpcs.create_conversation_model_evaluation.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# {::Google::Cloud::Dialogflow::V2::ConversationProfile ConversationProfiles}.
|
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
|
|
@@ -260,10 +263,11 @@ module Google
|
|
260
263
|
# Customize the options with defaults
|
261
264
|
metadata = @config.rpcs.list_conversation_profiles.metadata.to_h
|
262
265
|
|
263
|
-
# Set x-goog-api-client
|
266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
264
267
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
265
268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
266
269
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
270
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
header_params = {}
|
@@ -348,10 +352,11 @@ module Google
|
|
348
352
|
# Customize the options with defaults
|
349
353
|
metadata = @config.rpcs.get_conversation_profile.metadata.to_h
|
350
354
|
|
351
|
-
# Set x-goog-api-client
|
355
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
352
356
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
353
357
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
354
358
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
359
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
355
360
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
356
361
|
|
357
362
|
header_params = {}
|
@@ -441,10 +446,11 @@ module Google
|
|
441
446
|
# Customize the options with defaults
|
442
447
|
metadata = @config.rpcs.create_conversation_profile.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::V2::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 = {}
|
@@ -533,10 +539,11 @@ module Google
|
|
533
539
|
# Customize the options with defaults
|
534
540
|
metadata = @config.rpcs.update_conversation_profile.metadata.to_h
|
535
541
|
|
536
|
-
# Set x-goog-api-client
|
542
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
537
543
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
538
544
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
539
545
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
546
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
540
547
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
541
548
|
|
542
549
|
header_params = {}
|
@@ -620,10 +627,11 @@ module Google
|
|
620
627
|
# Customize the options with defaults
|
621
628
|
metadata = @config.rpcs.delete_conversation_profile.metadata.to_h
|
622
629
|
|
623
|
-
# Set x-goog-api-client
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
624
631
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
625
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
626
633
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
634
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
627
635
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
628
636
|
|
629
637
|
header_params = {}
|
@@ -736,10 +744,11 @@ module Google
|
|
736
744
|
# Customize the options with defaults
|
737
745
|
metadata = @config.rpcs.set_suggestion_feature_config.metadata.to_h
|
738
746
|
|
739
|
-
# Set x-goog-api-client
|
747
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
740
748
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
741
749
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
742
750
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
751
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
743
752
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
744
753
|
|
745
754
|
header_params = {}
|
@@ -846,10 +855,11 @@ module Google
|
|
846
855
|
# Customize the options with defaults
|
847
856
|
metadata = @config.rpcs.clear_suggestion_feature_config.metadata.to_h
|
848
857
|
|
849
|
-
# Set x-goog-api-client
|
858
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
850
859
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
851
860
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
852
861
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
862
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
853
863
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
854
864
|
|
855
865
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module ConversationProfiles
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# {::Google::Cloud::Dialogflow::V2::ConversationProfile ConversationProfiles}.
|
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
|
|
@@ -253,12 +256,13 @@ module Google
|
|
253
256
|
# Customize the options with defaults
|
254
257
|
call_metadata = @config.rpcs.list_conversation_profiles.metadata.to_h
|
255
258
|
|
256
|
-
# Set x-goog-api-client
|
259
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
257
260
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
258
261
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
259
262
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
260
263
|
transports_version_send: [:rest]
|
261
264
|
|
265
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
262
266
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
263
267
|
|
264
268
|
options.apply_defaults timeout: @config.rpcs.list_conversation_profiles.timeout,
|
@@ -334,12 +338,13 @@ module Google
|
|
334
338
|
# Customize the options with defaults
|
335
339
|
call_metadata = @config.rpcs.get_conversation_profile.metadata.to_h
|
336
340
|
|
337
|
-
# Set x-goog-api-client
|
341
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
338
342
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
339
343
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
340
344
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
341
345
|
transports_version_send: [:rest]
|
342
346
|
|
347
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
343
348
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
344
349
|
|
345
350
|
options.apply_defaults timeout: @config.rpcs.get_conversation_profile.timeout,
|
@@ -420,12 +425,13 @@ module Google
|
|
420
425
|
# Customize the options with defaults
|
421
426
|
call_metadata = @config.rpcs.create_conversation_profile.metadata.to_h
|
422
427
|
|
423
|
-
# Set x-goog-api-client
|
428
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
424
429
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
425
430
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
426
431
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
427
432
|
transports_version_send: [:rest]
|
428
433
|
|
434
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
429
435
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
430
436
|
|
431
437
|
options.apply_defaults timeout: @config.rpcs.create_conversation_profile.timeout,
|
@@ -505,12 +511,13 @@ module Google
|
|
505
511
|
# Customize the options with defaults
|
506
512
|
call_metadata = @config.rpcs.update_conversation_profile.metadata.to_h
|
507
513
|
|
508
|
-
# Set x-goog-api-client
|
514
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
509
515
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
510
516
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
511
517
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
512
518
|
transports_version_send: [:rest]
|
513
519
|
|
520
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
514
521
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
515
522
|
|
516
523
|
options.apply_defaults timeout: @config.rpcs.update_conversation_profile.timeout,
|
@@ -585,12 +592,13 @@ module Google
|
|
585
592
|
# Customize the options with defaults
|
586
593
|
call_metadata = @config.rpcs.delete_conversation_profile.metadata.to_h
|
587
594
|
|
588
|
-
# Set x-goog-api-client
|
595
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
589
596
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
590
597
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
591
598
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
592
599
|
transports_version_send: [:rest]
|
593
600
|
|
601
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
594
602
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
595
603
|
|
596
604
|
options.apply_defaults timeout: @config.rpcs.delete_conversation_profile.timeout,
|
@@ -694,12 +702,13 @@ module Google
|
|
694
702
|
# Customize the options with defaults
|
695
703
|
call_metadata = @config.rpcs.set_suggestion_feature_config.metadata.to_h
|
696
704
|
|
697
|
-
# Set x-goog-api-client
|
705
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
698
706
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
699
707
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
700
708
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
701
709
|
transports_version_send: [:rest]
|
702
710
|
|
711
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
703
712
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
704
713
|
|
705
714
|
options.apply_defaults timeout: @config.rpcs.set_suggestion_feature_config.timeout,
|
@@ -797,12 +806,13 @@ module Google
|
|
797
806
|
# Customize the options with defaults
|
798
807
|
call_metadata = @config.rpcs.clear_suggestion_feature_config.metadata.to_h
|
799
808
|
|
800
|
-
# Set x-goog-api-client
|
809
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
801
810
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
802
811
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
803
812
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
804
813
|
transports_version_send: [:rest]
|
805
814
|
|
815
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
806
816
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
807
817
|
|
808
818
|
options.apply_defaults timeout: @config.rpcs.clear_suggestion_feature_config.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|