google-cloud-tasks-v2beta3 0.12.3 → 0.13.1
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/v2beta3/cloud_tasks/client.rb +35 -16
- data/lib/google/cloud/tasks/v2beta3/cloud_tasks/rest/client.rb +35 -16
- data/lib/google/cloud/tasks/v2beta3/cloudtasks_pb.rb +1 -1
- data/lib/google/cloud/tasks/v2beta3/queue_pb.rb +1 -1
- data/lib/google/cloud/tasks/v2beta3/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 3b705ea949378c5bc1a0ce8c4abc16b868533d8a5012ac5f5bb152ce654f5b3f
|
4
|
+
data.tar.gz: 1682daeaddacd480109703bae0908e4d8dd67d97daadaeac75e3dcc27a6077f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edac64f49b39052a899d793060691b43ce407d4875288ce849d6bb4d11206f965b0d567a839c0a750202889a6ca1ae1e11c200cd4c30fbd4fca38627ac82ebeb
|
7
|
+
data.tar.gz: e4ac9f75c76f5c2aa9d9eb26ef4cb030a0e8f865212fb704188bf2db70c49dc2ebb4d3ee60f1950020e45f87e89c34323d9f04a2ed73e11164dc783cc0ebf8fe
|
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
|
|
@@ -329,10 +332,11 @@ module Google
|
|
329
332
|
# Customize the options with defaults
|
330
333
|
metadata = @config.rpcs.list_queues.metadata.to_h
|
331
334
|
|
332
|
-
# Set x-goog-api-client
|
335
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
333
336
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
334
337
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
335
338
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
339
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
336
340
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
337
341
|
|
338
342
|
header_params = {}
|
@@ -421,10 +425,11 @@ module Google
|
|
421
425
|
# Customize the options with defaults
|
422
426
|
metadata = @config.rpcs.get_queue.metadata.to_h
|
423
427
|
|
424
|
-
# Set x-goog-api-client
|
428
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
425
429
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
426
430
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
427
431
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
432
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
428
433
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
429
434
|
|
430
435
|
header_params = {}
|
@@ -527,10 +532,11 @@ module Google
|
|
527
532
|
# Customize the options with defaults
|
528
533
|
metadata = @config.rpcs.create_queue.metadata.to_h
|
529
534
|
|
530
|
-
# Set x-goog-api-client
|
535
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
531
536
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
532
537
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
533
538
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
539
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
534
540
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
535
541
|
|
536
542
|
header_params = {}
|
@@ -638,10 +644,11 @@ module Google
|
|
638
644
|
# Customize the options with defaults
|
639
645
|
metadata = @config.rpcs.update_queue.metadata.to_h
|
640
646
|
|
641
|
-
# Set x-goog-api-client
|
647
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
642
648
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
643
649
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
644
650
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
651
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
645
652
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
646
653
|
|
647
654
|
header_params = {}
|
@@ -736,10 +743,11 @@ module Google
|
|
736
743
|
# Customize the options with defaults
|
737
744
|
metadata = @config.rpcs.delete_queue.metadata.to_h
|
738
745
|
|
739
|
-
# Set x-goog-api-client
|
746
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
740
747
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
741
748
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
742
749
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
750
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
743
751
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
744
752
|
|
745
753
|
header_params = {}
|
@@ -827,10 +835,11 @@ module Google
|
|
827
835
|
# Customize the options with defaults
|
828
836
|
metadata = @config.rpcs.purge_queue.metadata.to_h
|
829
837
|
|
830
|
-
# Set x-goog-api-client
|
838
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
831
839
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
832
840
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
833
841
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
842
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
834
843
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
835
844
|
|
836
845
|
header_params = {}
|
@@ -920,10 +929,11 @@ module Google
|
|
920
929
|
# Customize the options with defaults
|
921
930
|
metadata = @config.rpcs.pause_queue.metadata.to_h
|
922
931
|
|
923
|
-
# Set x-goog-api-client
|
932
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
924
933
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
925
934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
926
935
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
936
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
927
937
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
928
938
|
|
929
939
|
header_params = {}
|
@@ -1020,10 +1030,11 @@ module Google
|
|
1020
1030
|
# Customize the options with defaults
|
1021
1031
|
metadata = @config.rpcs.resume_queue.metadata.to_h
|
1022
1032
|
|
1023
|
-
# Set x-goog-api-client
|
1033
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1024
1034
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1025
1035
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1026
1036
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1037
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1027
1038
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1028
1039
|
|
1029
1040
|
header_params = {}
|
@@ -1117,10 +1128,11 @@ module Google
|
|
1117
1128
|
# Customize the options with defaults
|
1118
1129
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1119
1130
|
|
1120
|
-
# Set x-goog-api-client
|
1131
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1121
1132
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1122
1133
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1123
1134
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1135
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1124
1136
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1125
1137
|
|
1126
1138
|
header_params = {}
|
@@ -1224,10 +1236,11 @@ module Google
|
|
1224
1236
|
# Customize the options with defaults
|
1225
1237
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1226
1238
|
|
1227
|
-
# Set x-goog-api-client
|
1239
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1228
1240
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1229
1241
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1230
1242
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1243
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1231
1244
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1232
1245
|
|
1233
1246
|
header_params = {}
|
@@ -1322,10 +1335,11 @@ module Google
|
|
1322
1335
|
# Customize the options with defaults
|
1323
1336
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1324
1337
|
|
1325
|
-
# Set x-goog-api-client
|
1338
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1326
1339
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1327
1340
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1328
1341
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1342
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1329
1343
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1330
1344
|
|
1331
1345
|
header_params = {}
|
@@ -1453,10 +1467,11 @@ module Google
|
|
1453
1467
|
# Customize the options with defaults
|
1454
1468
|
metadata = @config.rpcs.list_tasks.metadata.to_h
|
1455
1469
|
|
1456
|
-
# Set x-goog-api-client
|
1470
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1457
1471
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1458
1472
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1459
1473
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1474
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1460
1475
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1461
1476
|
|
1462
1477
|
header_params = {}
|
@@ -1554,10 +1569,11 @@ module Google
|
|
1554
1569
|
# Customize the options with defaults
|
1555
1570
|
metadata = @config.rpcs.get_task.metadata.to_h
|
1556
1571
|
|
1557
|
-
# Set x-goog-api-client
|
1572
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1558
1573
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1559
1574
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1560
1575
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1576
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1561
1577
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1562
1578
|
|
1563
1579
|
header_params = {}
|
@@ -1694,10 +1710,11 @@ module Google
|
|
1694
1710
|
# Customize the options with defaults
|
1695
1711
|
metadata = @config.rpcs.create_task.metadata.to_h
|
1696
1712
|
|
1697
|
-
# Set x-goog-api-client
|
1713
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1698
1714
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1699
1715
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1700
1716
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1717
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1701
1718
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1702
1719
|
|
1703
1720
|
header_params = {}
|
@@ -1784,10 +1801,11 @@ module Google
|
|
1784
1801
|
# Customize the options with defaults
|
1785
1802
|
metadata = @config.rpcs.delete_task.metadata.to_h
|
1786
1803
|
|
1787
|
-
# Set x-goog-api-client
|
1804
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1788
1805
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1789
1806
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1790
1807
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1808
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1791
1809
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1792
1810
|
|
1793
1811
|
header_params = {}
|
@@ -1910,10 +1928,11 @@ module Google
|
|
1910
1928
|
# Customize the options with defaults
|
1911
1929
|
metadata = @config.rpcs.run_task.metadata.to_h
|
1912
1930
|
|
1913
|
-
# Set x-goog-api-client
|
1931
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1914
1932
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1915
1933
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1916
1934
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
|
1935
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1917
1936
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1918
1937
|
|
1919
1938
|
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
|
|
@@ -322,12 +325,13 @@ module Google
|
|
322
325
|
# Customize the options with defaults
|
323
326
|
call_metadata = @config.rpcs.list_queues.metadata.to_h
|
324
327
|
|
325
|
-
# Set x-goog-api-client
|
328
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
326
329
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
327
330
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
328
331
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
329
332
|
transports_version_send: [:rest]
|
330
333
|
|
334
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
331
335
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
332
336
|
|
333
337
|
options.apply_defaults timeout: @config.rpcs.list_queues.timeout,
|
@@ -407,12 +411,13 @@ module Google
|
|
407
411
|
# Customize the options with defaults
|
408
412
|
call_metadata = @config.rpcs.get_queue.metadata.to_h
|
409
413
|
|
410
|
-
# Set x-goog-api-client
|
414
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
411
415
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
412
416
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
413
417
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
414
418
|
transports_version_send: [:rest]
|
415
419
|
|
420
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
416
421
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
417
422
|
|
418
423
|
options.apply_defaults timeout: @config.rpcs.get_queue.timeout,
|
@@ -506,12 +511,13 @@ module Google
|
|
506
511
|
# Customize the options with defaults
|
507
512
|
call_metadata = @config.rpcs.create_queue.metadata.to_h
|
508
513
|
|
509
|
-
# Set x-goog-api-client
|
514
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
510
515
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
511
516
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
512
517
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
513
518
|
transports_version_send: [:rest]
|
514
519
|
|
520
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
515
521
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
516
522
|
|
517
523
|
options.apply_defaults timeout: @config.rpcs.create_queue.timeout,
|
@@ -610,12 +616,13 @@ module Google
|
|
610
616
|
# Customize the options with defaults
|
611
617
|
call_metadata = @config.rpcs.update_queue.metadata.to_h
|
612
618
|
|
613
|
-
# Set x-goog-api-client
|
619
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
614
620
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
615
621
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
616
622
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
617
623
|
transports_version_send: [:rest]
|
618
624
|
|
625
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
619
626
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
620
627
|
|
621
628
|
options.apply_defaults timeout: @config.rpcs.update_queue.timeout,
|
@@ -701,12 +708,13 @@ module Google
|
|
701
708
|
# Customize the options with defaults
|
702
709
|
call_metadata = @config.rpcs.delete_queue.metadata.to_h
|
703
710
|
|
704
|
-
# Set x-goog-api-client
|
711
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
705
712
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
706
713
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
707
714
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
708
715
|
transports_version_send: [:rest]
|
709
716
|
|
717
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
710
718
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
711
719
|
|
712
720
|
options.apply_defaults timeout: @config.rpcs.delete_queue.timeout,
|
@@ -785,12 +793,13 @@ module Google
|
|
785
793
|
# Customize the options with defaults
|
786
794
|
call_metadata = @config.rpcs.purge_queue.metadata.to_h
|
787
795
|
|
788
|
-
# Set x-goog-api-client
|
796
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
789
797
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
790
798
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
791
799
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
792
800
|
transports_version_send: [:rest]
|
793
801
|
|
802
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
794
803
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
795
804
|
|
796
805
|
options.apply_defaults timeout: @config.rpcs.purge_queue.timeout,
|
@@ -871,12 +880,13 @@ module Google
|
|
871
880
|
# Customize the options with defaults
|
872
881
|
call_metadata = @config.rpcs.pause_queue.metadata.to_h
|
873
882
|
|
874
|
-
# Set x-goog-api-client
|
883
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
875
884
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
876
885
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
877
886
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
878
887
|
transports_version_send: [:rest]
|
879
888
|
|
889
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
880
890
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
881
891
|
|
882
892
|
options.apply_defaults timeout: @config.rpcs.pause_queue.timeout,
|
@@ -964,12 +974,13 @@ module Google
|
|
964
974
|
# Customize the options with defaults
|
965
975
|
call_metadata = @config.rpcs.resume_queue.metadata.to_h
|
966
976
|
|
967
|
-
# Set x-goog-api-client
|
977
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
968
978
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
969
979
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
970
980
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
971
981
|
transports_version_send: [:rest]
|
972
982
|
|
983
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
973
984
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
974
985
|
|
975
986
|
options.apply_defaults timeout: @config.rpcs.resume_queue.timeout,
|
@@ -1054,12 +1065,13 @@ module Google
|
|
1054
1065
|
# Customize the options with defaults
|
1055
1066
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1056
1067
|
|
1057
|
-
# Set x-goog-api-client
|
1068
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1058
1069
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1059
1070
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1060
1071
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1061
1072
|
transports_version_send: [:rest]
|
1062
1073
|
|
1074
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1063
1075
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1064
1076
|
|
1065
1077
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1154,12 +1166,13 @@ module Google
|
|
1154
1166
|
# Customize the options with defaults
|
1155
1167
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1156
1168
|
|
1157
|
-
# Set x-goog-api-client
|
1169
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1158
1170
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1159
1171
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1160
1172
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1161
1173
|
transports_version_send: [:rest]
|
1162
1174
|
|
1175
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1163
1176
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1164
1177
|
|
1165
1178
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1245,12 +1258,13 @@ module Google
|
|
1245
1258
|
# Customize the options with defaults
|
1246
1259
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1247
1260
|
|
1248
|
-
# Set x-goog-api-client
|
1261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1249
1262
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1250
1263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1251
1264
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1252
1265
|
transports_version_send: [:rest]
|
1253
1266
|
|
1267
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1254
1268
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1255
1269
|
|
1256
1270
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -1369,12 +1383,13 @@ module Google
|
|
1369
1383
|
# Customize the options with defaults
|
1370
1384
|
call_metadata = @config.rpcs.list_tasks.metadata.to_h
|
1371
1385
|
|
1372
|
-
# Set x-goog-api-client
|
1386
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1373
1387
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1374
1388
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1375
1389
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1376
1390
|
transports_version_send: [:rest]
|
1377
1391
|
|
1392
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1378
1393
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1379
1394
|
|
1380
1395
|
options.apply_defaults timeout: @config.rpcs.list_tasks.timeout,
|
@@ -1463,12 +1478,13 @@ module Google
|
|
1463
1478
|
# Customize the options with defaults
|
1464
1479
|
call_metadata = @config.rpcs.get_task.metadata.to_h
|
1465
1480
|
|
1466
|
-
# Set x-goog-api-client
|
1481
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1467
1482
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1468
1483
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1469
1484
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1470
1485
|
transports_version_send: [:rest]
|
1471
1486
|
|
1487
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1472
1488
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1473
1489
|
|
1474
1490
|
options.apply_defaults timeout: @config.rpcs.get_task.timeout,
|
@@ -1596,12 +1612,13 @@ module Google
|
|
1596
1612
|
# Customize the options with defaults
|
1597
1613
|
call_metadata = @config.rpcs.create_task.metadata.to_h
|
1598
1614
|
|
1599
|
-
# Set x-goog-api-client
|
1615
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1600
1616
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1601
1617
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1602
1618
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1603
1619
|
transports_version_send: [:rest]
|
1604
1620
|
|
1621
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1605
1622
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1606
1623
|
|
1607
1624
|
options.apply_defaults timeout: @config.rpcs.create_task.timeout,
|
@@ -1679,12 +1696,13 @@ module Google
|
|
1679
1696
|
# Customize the options with defaults
|
1680
1697
|
call_metadata = @config.rpcs.delete_task.metadata.to_h
|
1681
1698
|
|
1682
|
-
# Set x-goog-api-client
|
1699
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1683
1700
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1684
1701
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1685
1702
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1686
1703
|
transports_version_send: [:rest]
|
1687
1704
|
|
1705
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1688
1706
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1689
1707
|
|
1690
1708
|
options.apply_defaults timeout: @config.rpcs.delete_task.timeout,
|
@@ -1798,12 +1816,13 @@ module Google
|
|
1798
1816
|
# Customize the options with defaults
|
1799
1817
|
call_metadata = @config.rpcs.run_task.metadata.to_h
|
1800
1818
|
|
1801
|
-
# Set x-goog-api-client
|
1819
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1802
1820
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1803
1821
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1804
1822
|
gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
|
1805
1823
|
transports_version_send: [:rest]
|
1806
1824
|
|
1825
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1807
1826
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1808
1827
|
|
1809
1828
|
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/v2beta3/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta3\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/v2beta3/queue.proto\x1a%google/cloud/tasks/v2beta3/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/v2beta3/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta3\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/v2beta3/queue.proto\x1a%google/cloud/tasks/v2beta3/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\"\xb7\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\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"`\n\x12ListQueuesResponse\x12\x31\n\x06queues\x18\x01 \x03(\x0b\x32!.google.cloud.tasks.v2beta3.Queue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x0fGetQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x32\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x84\x01\n\x12\x43reateQueueRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x35\n\x05queue\x18\x02 \x01(\x0b\x32!.google.cloud.tasks.v2beta3.QueueB\x03\xe0\x41\x02\"|\n\x12UpdateQueueRequest\x12\x35\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta3.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\"\xaf\x01\n\x10ListTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta3.Task.View\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta3.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x84\x01\n\x0eGetTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta3.Task.View\"\xbe\x01\n\x11\x43reateTaskRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x33\n\x04task\x18\x02 \x01(\x0b\x32 .google.cloud.tasks.v2beta3.TaskB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta3.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\"\x84\x01\n\x0eRunTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta3.Task.View2\xa5\x16\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta3.ListQueuesRequest\x1a..google.cloud.tasks.v2beta3.ListQueuesResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2beta3/{parent=projects/*/locations/*}/queues\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta3.GetQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2beta3/{name=projects/*/locations/*/queues/*}\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta3.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"M\xda\x41\x0cparent,queue\x82\xd3\xe4\x93\x02\x38\"//v2beta3/{parent=projects/*/locations/*}/queues:\x05queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta3.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"X\xda\x41\x11queue,update_mask\x82\xd3\xe4\x93\x02>25/v2beta3/{queue.name=projects/*/locations/*/queues/*}:\x05queue\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta3.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2beta3/{name=projects/*/locations/*/queues/*}\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta3.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta3/{name=projects/*/locations/*/queues/*}:purge:\x01*\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta3.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta3/{name=projects/*/locations/*/queues/*}:pause:\x01*\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta3.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v2beta3/{name=projects/*/locations/*/queues/*}:resume:\x01*\x12\xa1\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"V\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x45\"@/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\x01*\x12\xa8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"]\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x45\"@/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\x01*\x12\xd3\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"h\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02K\"F/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta3.ListTasksRequest\x1a-.google.cloud.tasks.v2beta3.ListTasksResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta3.GetTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta3.CreateTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"P\xda\x41\x0bparent,task\x82\xd3\xe4\x93\x02<\"7/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta3.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta3.RunTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x80\x01\n\x1e\x63om.google.cloud.tasks.v2beta3B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKSb\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/duration_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n&google/cloud/tasks/v2beta3/queue.proto\x12\x1agoogle.cloud.tasks.v2beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks/v2beta3/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
14
|
+
descriptor_data = "\n&google/cloud/tasks/v2beta3/queue.proto\x12\x1agoogle.cloud.tasks.v2beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks/v2beta3/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x07\n\x05Queue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x15\x61pp_engine_http_queue\x18\x03 \x01(\x0b\x32..google.cloud.tasks.v2beta3.AppEngineHttpQueueH\x00\x12;\n\x0bhttp_target\x18\r \x01(\x0b\x32&.google.cloud.tasks.v2beta3.HttpTarget\x12;\n\x0brate_limits\x18\x04 \x01(\x0b\x32&.google.cloud.tasks.v2beta3.RateLimits\x12=\n\x0cretry_config\x18\x05 \x01(\x0b\x32\'.google.cloud.tasks.v2beta3.RetryConfig\x12\x36\n\x05state\x18\x06 \x01(\x0e\x32\'.google.cloud.tasks.v2beta3.Queue.State\x12.\n\npurge_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08task_ttl\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rtombstone_ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x1astackdriver_logging_config\x18\n \x01(\x0b\x32\x34.google.cloud.tasks.v2beta3.StackdriverLoggingConfig\x12\x39\n\x04type\x18\x0b \x01(\x0e\x32&.google.cloud.tasks.v2beta3.Queue.TypeB\x03\xe0\x41\x05\x12:\n\x05stats\x18\x0c \x01(\x0b\x32&.google.cloud.tasks.v2beta3.QueueStatsB\x03\xe0\x41\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04PULL\x10\x01\x12\x08\n\x04PUSH\x10\x02:\\\xea\x41Y\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x36projects/{project}/locations/{location}/queues/{queue}B\x0c\n\nqueue_type\"j\n\nRateLimits\x12!\n\x19max_dispatches_per_second\x18\x01 \x01(\x01\x12\x16\n\x0emax_burst_size\x18\x02 \x01(\x05\x12!\n\x19max_concurrent_dispatches\x18\x03 \x01(\x05\"\xd1\x01\n\x0bRetryConfig\x12\x14\n\x0cmax_attempts\x18\x01 \x01(\x05\x12\x35\n\x12max_retry_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmin_backoff\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmax_backoff\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x05 \x01(\x05\"2\n\x18StackdriverLoggingConfig\x12\x16\n\x0esampling_ratio\x18\x01 \x01(\x01\"\xe8\x01\n\nQueueStats\x12\x18\n\x0btasks_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x46\n\x1doldest_estimated_arrival_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\'\n\x1a\x65xecuted_last_minute_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12(\n\x1b\x63oncurrent_dispatches_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12%\n\x18\x65\x66\x66\x65\x63tive_execution_rate\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x42s\n\x1e\x63om.google.cloud.tasks.v2beta3B\nQueueProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspbb\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks-v2beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.1
|
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-08-30 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.
|