google-cloud-tasks-v2 0.10.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/tasks/v2/cloud_tasks/client.rb +35 -16
- data/lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb +35 -16
- data/lib/google/cloud/tasks/v2/cloudtasks_pb.rb +1 -1
- data/lib/google/cloud/tasks/v2/target_pb.rb +1 -1
- data/lib/google/cloud/tasks/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
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
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -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,
|
@@ -16,7 +16,7 @@ require 'google/protobuf/empty_pb'
|
|
16
16
|
require 'google/protobuf/field_mask_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n&google/cloud/tasks/v2/cloudtasks.proto\x12\x15google.cloud.tasks.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/tasks/v2/queue.proto\x1a google/cloud/tasks/v2/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
19
|
+
descriptor_data = "\n&google/cloud/tasks/v2/cloudtasks.proto\x12\x15google.cloud.tasks.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/cloud/tasks/v2/queue.proto\x1a google/cloud/tasks/v2/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x83\x01\n\x11ListQueuesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"[\n\x12ListQueuesResponse\x12,\n\x06queues\x18\x01 \x03(\x0b\x32\x1c.google.cloud.tasks.v2.Queue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\x0fGetQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"\x7f\n\x12\x43reateQueueRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x30\n\x05queue\x18\x02 \x01(\x0b\x32\x1c.google.cloud.tasks.v2.QueueB\x03\xe0\x41\x02\"w\n\x12UpdateQueueRequest\x12\x30\n\x05queue\x18\x01 \x01(\x0b\x32\x1c.google.cloud.tasks.v2.QueueB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"K\n\x12\x44\x65leteQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"J\n\x11PurgeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"J\n\x11PauseQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x12ResumeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"\xaa\x01\n\x10ListTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rresponse_view\x18\x02 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"X\n\x11ListTasksResponse\x12*\n\x05tasks\x18\x01 \x03(\x0b\x32\x1b.google.cloud.tasks.v2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x7f\n\x0eGetTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rresponse_view\x18\x02 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View\"\xb4\x01\n\x11\x43reateTaskRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12.\n\x04task\x18\x02 \x01(\x0b\x32\x1b.google.cloud.tasks.v2.TaskB\x03\xe0\x41\x02\x12\x37\n\rresponse_view\x18\x03 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View\"I\n\x11\x44\x65leteTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\"\x7f\n\x0eRunTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rresponse_view\x18\x02 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View2\xdd\x14\n\nCloudTasks\x12\x9e\x01\n\nListQueues\x12(.google.cloud.tasks.v2.ListQueuesRequest\x1a).google.cloud.tasks.v2.ListQueuesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/locations/*}/queues\x12\x8b\x01\n\x08GetQueue\x12&.google.cloud.tasks.v2.GetQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/locations/*/queues/*}\x12\xa0\x01\n\x0b\x43reateQueue\x12).google.cloud.tasks.v2.CreateQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue\"H\xda\x41\x0cparent,queue\x82\xd3\xe4\x93\x02\x33\"*/v2/{parent=projects/*/locations/*}/queues:\x05queue\x12\xab\x01\n\x0bUpdateQueue\x12).google.cloud.tasks.v2.UpdateQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue\"S\xda\x41\x11queue,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\x12\x8b\x01\n\x0b\x44\x65leteQueue\x12).google.cloud.tasks.v2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/locations/*/queues/*}\x12\x98\x01\n\nPurgeQueue\x12(.google.cloud.tasks.v2.PurgeQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\"0/v2/{name=projects/*/locations/*/queues/*}:purge:\x01*\x12\x98\x01\n\nPauseQueue\x12(.google.cloud.tasks.v2.PauseQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\"0/v2/{name=projects/*/locations/*/queues/*}:pause:\x01*\x12\x9b\x01\n\x0bResumeQueue\x12).google.cloud.tasks.v2.ResumeQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v2/{name=projects/*/locations/*/queues/*}:resume:\x01*\x12\x9c\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Q\xda\x41\x08resource\x82\xd3\xe4\x93\x02@\";/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\x01*\x12\xa3\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"X\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02@\";/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\x01*\x12\xce\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"c\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02\x46\"A/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\x12\xa3\x01\n\tListTasks\x12\'.google.cloud.tasks.v2.ListTasksRequest\x1a(.google.cloud.tasks.v2.ListTasksResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{parent=projects/*/locations/*/queues/*}/tasks\x12\x90\x01\n\x07GetTask\x12%.google.cloud.tasks.v2.GetTaskRequest\x1a\x1b.google.cloud.tasks.v2.Task\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xa0\x01\n\nCreateTask\x12(.google.cloud.tasks.v2.CreateTaskRequest\x1a\x1b.google.cloud.tasks.v2.Task\"K\xda\x41\x0bparent,task\x82\xd3\xe4\x93\x02\x37\"2/v2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\x12\x91\x01\n\nDeleteTask\x12(.google.cloud.tasks.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\x97\x01\n\x07RunTask\x12%.google.cloud.tasks.v2.RunTaskRequest\x1a\x1b.google.cloud.tasks.v2.Task\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBv\n\x19\x63om.google.cloud.tasks.v2B\x0f\x43loudTasksProtoP\x01Z>cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKSb\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\"google/cloud/tasks/v2/target.proto\x12\x15google.cloud.tasks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n\"google/cloud/tasks/v2/target.proto\x12\x15google.cloud.tasks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\xe1\x02\n\x0bHttpRequest\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x0bhttp_method\x18\x02 \x01(\x0e\x32!.google.cloud.tasks.v2.HttpMethod\x12@\n\x07headers\x18\x03 \x03(\x0b\x32/.google.cloud.tasks.v2.HttpRequest.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x12\x38\n\x0boauth_token\x18\x05 \x01(\x0b\x32!.google.cloud.tasks.v2.OAuthTokenH\x00\x12\x36\n\noidc_token\x18\x06 \x01(\x0b\x32 .google.cloud.tasks.v2.OidcTokenH\x00\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14\x61uthorization_header\"\xb2\x02\n\x14\x41ppEngineHttpRequest\x12\x36\n\x0bhttp_method\x18\x01 \x01(\x0e\x32!.google.cloud.tasks.v2.HttpMethod\x12\x43\n\x12\x61pp_engine_routing\x18\x02 \x01(\x0b\x32\'.google.cloud.tasks.v2.AppEngineRouting\x12\x14\n\x0crelative_uri\x18\x03 \x01(\t\x12I\n\x07headers\x18\x04 \x03(\x0b\x32\x38.google.cloud.tasks.v2.AppEngineHttpRequest.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x05 \x01(\x0c\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x10\x41ppEngineRouting\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08instance\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\":\n\nOAuthToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x02 \x01(\t\"<\n\tOidcToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\x10\n\x08\x61udience\x18\x02 \x01(\t*s\n\nHttpMethod\x12\x1b\n\x17HTTP_METHOD_UNSPECIFIED\x10\x00\x12\x08\n\x04POST\x10\x01\x12\x07\n\x03GET\x10\x02\x12\x08\n\x04HEAD\x10\x03\x12\x07\n\x03PUT\x10\x04\x12\n\n\x06\x44\x45LETE\x10\x05\x12\t\n\x05PATCH\x10\x06\x12\x0b\n\x07OPTIONS\x10\x07\x42j\n\x19\x63om.google.cloud.tasks.v2B\x0bTargetProtoP\x01Z>cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspbb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -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
|
@@ -78,118 +78,6 @@ dependencies:
|
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '1.1'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: google-style
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 1.26.3
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 1.26.3
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: minitest
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '5.16'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '5.16'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: minitest-focus
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '1.1'
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - "~>"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '1.1'
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: minitest-rg
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '5.2'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '5.2'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: rake
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '13.0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '13.0'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: redcarpet
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '3.0'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '3.0'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: simplecov
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '0.18'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '0.18'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: yard
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - "~>"
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: '0.9'
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - "~>"
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: '0.9'
|
193
81
|
description: Cloud Tasks is a fully managed service that allows you to manage the
|
194
82
|
execution, dispatch and delivery of a large number of distributed tasks. You can
|
195
83
|
asynchronously perform work outside of a user request. Your tasks can be executed
|
@@ -253,14 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
253
141
|
requirements:
|
254
142
|
- - ">="
|
255
143
|
- !ruby/object:Gem::Version
|
256
|
-
version: '2.
|
144
|
+
version: '2.7'
|
257
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
146
|
requirements:
|
259
147
|
- - ">="
|
260
148
|
- !ruby/object:Gem::Version
|
261
149
|
version: '0'
|
262
150
|
requirements: []
|
263
|
-
rubygems_version: 3.5.
|
151
|
+
rubygems_version: 3.5.6
|
264
152
|
signing_key:
|
265
153
|
specification_version: 4
|
266
154
|
summary: Manages the execution of large numbers of distributed requests.
|