google-cloud-tasks-v2 0.11.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e705c867e17701d0776d74b1488febe33193467c4d7f08f85cf34e06c4431ebc
|
|
4
|
+
data.tar.gz: f64675a7220f117d5af095c507bcc9967baf2f6799d9485a93450b4bde2fcc09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c77a5ff61771240aebc388700a7789d79b18a083f3f396f2015640f7634d613bc186f65ed8eefc243ce2a015de70c93a55c2d412328388e04a317a4fddbab92b
|
|
7
|
+
data.tar.gz: b8a0e8561b0c75919999540ae6cacbd3773228fb15e668fe563c48f5b35da15904b389b505e90938968a5cb1a348dbb9253ce219909b2b503fb2e5d60c18f74d
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# work in their applications.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudtasks.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -324,10 +327,11 @@ module Google
|
|
|
324
327
|
# Customize the options with defaults
|
|
325
328
|
metadata = @config.rpcs.list_queues.metadata.to_h
|
|
326
329
|
|
|
327
|
-
# Set x-goog-api-client
|
|
330
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
328
331
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
329
332
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
330
333
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
334
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
331
335
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
332
336
|
|
|
333
337
|
header_params = {}
|
|
@@ -411,10 +415,11 @@ module Google
|
|
|
411
415
|
# Customize the options with defaults
|
|
412
416
|
metadata = @config.rpcs.get_queue.metadata.to_h
|
|
413
417
|
|
|
414
|
-
# Set x-goog-api-client
|
|
418
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
415
419
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
416
420
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
417
421
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
422
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
418
423
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
419
424
|
|
|
420
425
|
header_params = {}
|
|
@@ -517,10 +522,11 @@ module Google
|
|
|
517
522
|
# Customize the options with defaults
|
|
518
523
|
metadata = @config.rpcs.create_queue.metadata.to_h
|
|
519
524
|
|
|
520
|
-
# Set x-goog-api-client
|
|
525
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
521
526
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
522
527
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
523
528
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
529
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
524
530
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
525
531
|
|
|
526
532
|
header_params = {}
|
|
@@ -626,10 +632,11 @@ module Google
|
|
|
626
632
|
# Customize the options with defaults
|
|
627
633
|
metadata = @config.rpcs.update_queue.metadata.to_h
|
|
628
634
|
|
|
629
|
-
# Set x-goog-api-client
|
|
635
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
630
636
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
631
637
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
632
638
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
639
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
633
640
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
634
641
|
|
|
635
642
|
header_params = {}
|
|
@@ -724,10 +731,11 @@ module Google
|
|
|
724
731
|
# Customize the options with defaults
|
|
725
732
|
metadata = @config.rpcs.delete_queue.metadata.to_h
|
|
726
733
|
|
|
727
|
-
# Set x-goog-api-client
|
|
734
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
728
735
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
729
736
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
730
737
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
738
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
731
739
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
732
740
|
|
|
733
741
|
header_params = {}
|
|
@@ -815,10 +823,11 @@ module Google
|
|
|
815
823
|
# Customize the options with defaults
|
|
816
824
|
metadata = @config.rpcs.purge_queue.metadata.to_h
|
|
817
825
|
|
|
818
|
-
# Set x-goog-api-client
|
|
826
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
819
827
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
820
828
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
821
829
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
830
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
822
831
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
823
832
|
|
|
824
833
|
header_params = {}
|
|
@@ -908,10 +917,11 @@ module Google
|
|
|
908
917
|
# Customize the options with defaults
|
|
909
918
|
metadata = @config.rpcs.pause_queue.metadata.to_h
|
|
910
919
|
|
|
911
|
-
# Set x-goog-api-client
|
|
920
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
912
921
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
913
922
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
914
923
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
924
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
915
925
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
916
926
|
|
|
917
927
|
header_params = {}
|
|
@@ -1007,10 +1017,11 @@ module Google
|
|
|
1007
1017
|
# Customize the options with defaults
|
|
1008
1018
|
metadata = @config.rpcs.resume_queue.metadata.to_h
|
|
1009
1019
|
|
|
1010
|
-
# Set x-goog-api-client
|
|
1020
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1011
1021
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1012
1022
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1013
1023
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1024
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1014
1025
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1015
1026
|
|
|
1016
1027
|
header_params = {}
|
|
@@ -1104,10 +1115,11 @@ module Google
|
|
|
1104
1115
|
# Customize the options with defaults
|
|
1105
1116
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
1106
1117
|
|
|
1107
|
-
# Set x-goog-api-client
|
|
1118
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1108
1119
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1109
1120
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1110
1121
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1122
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1111
1123
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1112
1124
|
|
|
1113
1125
|
header_params = {}
|
|
@@ -1211,10 +1223,11 @@ module Google
|
|
|
1211
1223
|
# Customize the options with defaults
|
|
1212
1224
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
1213
1225
|
|
|
1214
|
-
# Set x-goog-api-client
|
|
1226
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1215
1227
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1216
1228
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1217
1229
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1230
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1218
1231
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1219
1232
|
|
|
1220
1233
|
header_params = {}
|
|
@@ -1309,10 +1322,11 @@ module Google
|
|
|
1309
1322
|
# Customize the options with defaults
|
|
1310
1323
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1311
1324
|
|
|
1312
|
-
# Set x-goog-api-client
|
|
1325
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1313
1326
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1314
1327
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1315
1328
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1329
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1316
1330
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1317
1331
|
|
|
1318
1332
|
header_params = {}
|
|
@@ -1439,10 +1453,11 @@ module Google
|
|
|
1439
1453
|
# Customize the options with defaults
|
|
1440
1454
|
metadata = @config.rpcs.list_tasks.metadata.to_h
|
|
1441
1455
|
|
|
1442
|
-
# Set x-goog-api-client
|
|
1456
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1443
1457
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1444
1458
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1445
1459
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1460
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1446
1461
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1447
1462
|
|
|
1448
1463
|
header_params = {}
|
|
@@ -1539,10 +1554,11 @@ module Google
|
|
|
1539
1554
|
# Customize the options with defaults
|
|
1540
1555
|
metadata = @config.rpcs.get_task.metadata.to_h
|
|
1541
1556
|
|
|
1542
|
-
# Set x-goog-api-client
|
|
1557
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1543
1558
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1544
1559
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1545
1560
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1561
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1546
1562
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1547
1563
|
|
|
1548
1564
|
header_params = {}
|
|
@@ -1678,10 +1694,11 @@ module Google
|
|
|
1678
1694
|
# Customize the options with defaults
|
|
1679
1695
|
metadata = @config.rpcs.create_task.metadata.to_h
|
|
1680
1696
|
|
|
1681
|
-
# Set x-goog-api-client
|
|
1697
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1682
1698
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1683
1699
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1684
1700
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1701
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1685
1702
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1686
1703
|
|
|
1687
1704
|
header_params = {}
|
|
@@ -1768,10 +1785,11 @@ module Google
|
|
|
1768
1785
|
# Customize the options with defaults
|
|
1769
1786
|
metadata = @config.rpcs.delete_task.metadata.to_h
|
|
1770
1787
|
|
|
1771
|
-
# Set x-goog-api-client
|
|
1788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1772
1789
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1773
1790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1774
1791
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1792
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1775
1793
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1776
1794
|
|
|
1777
1795
|
header_params = {}
|
|
@@ -1892,10 +1910,11 @@ module Google
|
|
|
1892
1910
|
# Customize the options with defaults
|
|
1893
1911
|
metadata = @config.rpcs.run_task.metadata.to_h
|
|
1894
1912
|
|
|
1895
|
-
# Set x-goog-api-client
|
|
1913
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1896
1914
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1897
1915
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1898
1916
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION
|
|
1917
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1899
1918
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1900
1919
|
|
|
1901
1920
|
header_params = {}
|
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# work in their applications.
|
|
35
35
|
#
|
|
36
36
|
class Client
|
|
37
|
+
# @private
|
|
38
|
+
API_VERSION = ""
|
|
39
|
+
|
|
37
40
|
# @private
|
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudtasks.$UNIVERSE_DOMAIN$"
|
|
39
42
|
|
|
@@ -317,12 +320,13 @@ module Google
|
|
|
317
320
|
# Customize the options with defaults
|
|
318
321
|
call_metadata = @config.rpcs.list_queues.metadata.to_h
|
|
319
322
|
|
|
320
|
-
# Set x-goog-api-client
|
|
323
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
321
324
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
322
325
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
323
326
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
324
327
|
transports_version_send: [:rest]
|
|
325
328
|
|
|
329
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
326
330
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
327
331
|
|
|
328
332
|
options.apply_defaults timeout: @config.rpcs.list_queues.timeout,
|
|
@@ -397,12 +401,13 @@ module Google
|
|
|
397
401
|
# Customize the options with defaults
|
|
398
402
|
call_metadata = @config.rpcs.get_queue.metadata.to_h
|
|
399
403
|
|
|
400
|
-
# Set x-goog-api-client
|
|
404
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
401
405
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
402
406
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
403
407
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
404
408
|
transports_version_send: [:rest]
|
|
405
409
|
|
|
410
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
406
411
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
407
412
|
|
|
408
413
|
options.apply_defaults timeout: @config.rpcs.get_queue.timeout,
|
|
@@ -496,12 +501,13 @@ module Google
|
|
|
496
501
|
# Customize the options with defaults
|
|
497
502
|
call_metadata = @config.rpcs.create_queue.metadata.to_h
|
|
498
503
|
|
|
499
|
-
# Set x-goog-api-client
|
|
504
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
500
505
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
501
506
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
502
507
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
503
508
|
transports_version_send: [:rest]
|
|
504
509
|
|
|
510
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
505
511
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
506
512
|
|
|
507
513
|
options.apply_defaults timeout: @config.rpcs.create_queue.timeout,
|
|
@@ -598,12 +604,13 @@ module Google
|
|
|
598
604
|
# Customize the options with defaults
|
|
599
605
|
call_metadata = @config.rpcs.update_queue.metadata.to_h
|
|
600
606
|
|
|
601
|
-
# Set x-goog-api-client
|
|
607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
602
608
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
603
609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
604
610
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
605
611
|
transports_version_send: [:rest]
|
|
606
612
|
|
|
613
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
607
614
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
608
615
|
|
|
609
616
|
options.apply_defaults timeout: @config.rpcs.update_queue.timeout,
|
|
@@ -689,12 +696,13 @@ module Google
|
|
|
689
696
|
# Customize the options with defaults
|
|
690
697
|
call_metadata = @config.rpcs.delete_queue.metadata.to_h
|
|
691
698
|
|
|
692
|
-
# Set x-goog-api-client
|
|
699
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
693
700
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
694
701
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
695
702
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
696
703
|
transports_version_send: [:rest]
|
|
697
704
|
|
|
705
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
698
706
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
699
707
|
|
|
700
708
|
options.apply_defaults timeout: @config.rpcs.delete_queue.timeout,
|
|
@@ -773,12 +781,13 @@ module Google
|
|
|
773
781
|
# Customize the options with defaults
|
|
774
782
|
call_metadata = @config.rpcs.purge_queue.metadata.to_h
|
|
775
783
|
|
|
776
|
-
# Set x-goog-api-client
|
|
784
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
777
785
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
778
786
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
779
787
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
780
788
|
transports_version_send: [:rest]
|
|
781
789
|
|
|
790
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
782
791
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
783
792
|
|
|
784
793
|
options.apply_defaults timeout: @config.rpcs.purge_queue.timeout,
|
|
@@ -859,12 +868,13 @@ module Google
|
|
|
859
868
|
# Customize the options with defaults
|
|
860
869
|
call_metadata = @config.rpcs.pause_queue.metadata.to_h
|
|
861
870
|
|
|
862
|
-
# Set x-goog-api-client
|
|
871
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
863
872
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
864
873
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
865
874
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
866
875
|
transports_version_send: [:rest]
|
|
867
876
|
|
|
877
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
868
878
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
869
879
|
|
|
870
880
|
options.apply_defaults timeout: @config.rpcs.pause_queue.timeout,
|
|
@@ -951,12 +961,13 @@ module Google
|
|
|
951
961
|
# Customize the options with defaults
|
|
952
962
|
call_metadata = @config.rpcs.resume_queue.metadata.to_h
|
|
953
963
|
|
|
954
|
-
# Set x-goog-api-client
|
|
964
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
955
965
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
956
966
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
957
967
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
958
968
|
transports_version_send: [:rest]
|
|
959
969
|
|
|
970
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
960
971
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
961
972
|
|
|
962
973
|
options.apply_defaults timeout: @config.rpcs.resume_queue.timeout,
|
|
@@ -1041,12 +1052,13 @@ module Google
|
|
|
1041
1052
|
# Customize the options with defaults
|
|
1042
1053
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
1043
1054
|
|
|
1044
|
-
# Set x-goog-api-client
|
|
1055
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1045
1056
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1046
1057
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1047
1058
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1048
1059
|
transports_version_send: [:rest]
|
|
1049
1060
|
|
|
1061
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1050
1062
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1051
1063
|
|
|
1052
1064
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
|
@@ -1141,12 +1153,13 @@ module Google
|
|
|
1141
1153
|
# Customize the options with defaults
|
|
1142
1154
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
1143
1155
|
|
|
1144
|
-
# Set x-goog-api-client
|
|
1156
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1145
1157
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1146
1158
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1147
1159
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1148
1160
|
transports_version_send: [:rest]
|
|
1149
1161
|
|
|
1162
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1150
1163
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1151
1164
|
|
|
1152
1165
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
|
@@ -1232,12 +1245,13 @@ module Google
|
|
|
1232
1245
|
# Customize the options with defaults
|
|
1233
1246
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1234
1247
|
|
|
1235
|
-
# Set x-goog-api-client
|
|
1248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1236
1249
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1237
1250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1238
1251
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1239
1252
|
transports_version_send: [:rest]
|
|
1240
1253
|
|
|
1254
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1241
1255
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1242
1256
|
|
|
1243
1257
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
|
@@ -1355,12 +1369,13 @@ module Google
|
|
|
1355
1369
|
# Customize the options with defaults
|
|
1356
1370
|
call_metadata = @config.rpcs.list_tasks.metadata.to_h
|
|
1357
1371
|
|
|
1358
|
-
# Set x-goog-api-client
|
|
1372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1359
1373
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1360
1374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1361
1375
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1362
1376
|
transports_version_send: [:rest]
|
|
1363
1377
|
|
|
1378
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1364
1379
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1365
1380
|
|
|
1366
1381
|
options.apply_defaults timeout: @config.rpcs.list_tasks.timeout,
|
|
@@ -1448,12 +1463,13 @@ module Google
|
|
|
1448
1463
|
# Customize the options with defaults
|
|
1449
1464
|
call_metadata = @config.rpcs.get_task.metadata.to_h
|
|
1450
1465
|
|
|
1451
|
-
# Set x-goog-api-client
|
|
1466
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1452
1467
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1453
1468
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1454
1469
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1455
1470
|
transports_version_send: [:rest]
|
|
1456
1471
|
|
|
1472
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1457
1473
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1458
1474
|
|
|
1459
1475
|
options.apply_defaults timeout: @config.rpcs.get_task.timeout,
|
|
@@ -1580,12 +1596,13 @@ module Google
|
|
|
1580
1596
|
# Customize the options with defaults
|
|
1581
1597
|
call_metadata = @config.rpcs.create_task.metadata.to_h
|
|
1582
1598
|
|
|
1583
|
-
# Set x-goog-api-client
|
|
1599
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1584
1600
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1585
1601
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1586
1602
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1587
1603
|
transports_version_send: [:rest]
|
|
1588
1604
|
|
|
1605
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1589
1606
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1590
1607
|
|
|
1591
1608
|
options.apply_defaults timeout: @config.rpcs.create_task.timeout,
|
|
@@ -1663,12 +1680,13 @@ module Google
|
|
|
1663
1680
|
# Customize the options with defaults
|
|
1664
1681
|
call_metadata = @config.rpcs.delete_task.metadata.to_h
|
|
1665
1682
|
|
|
1666
|
-
# Set x-goog-api-client
|
|
1683
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1667
1684
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1668
1685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1669
1686
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1670
1687
|
transports_version_send: [:rest]
|
|
1671
1688
|
|
|
1689
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1672
1690
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1673
1691
|
|
|
1674
1692
|
options.apply_defaults timeout: @config.rpcs.delete_task.timeout,
|
|
@@ -1780,12 +1798,13 @@ module Google
|
|
|
1780
1798
|
# Customize the options with defaults
|
|
1781
1799
|
call_metadata = @config.rpcs.run_task.metadata.to_h
|
|
1782
1800
|
|
|
1783
|
-
# Set x-goog-api-client
|
|
1801
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1784
1802
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1785
1803
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1786
1804
|
gapic_version: ::Google::Cloud::Tasks::V2::VERSION,
|
|
1787
1805
|
transports_version_send: [:rest]
|
|
1788
1806
|
|
|
1807
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1789
1808
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1790
1809
|
|
|
1791
1810
|
options.apply_defaults timeout: @config.rpcs.run_task.timeout,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-tasks-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|