google-cloud-tasks-v2beta2 0.11.3 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4daf8feee73e59627acc70b78dd0d61497702bf7eaf6dc656115f17a74d4bf6
4
- data.tar.gz: b70b20f32e678fd24b4f502665c2824c601f687d5a1a77c3a296fd80a4d31a06
3
+ metadata.gz: 4a5557934b75667b392e72c0524cd2a025b0e229ce91c45b5b83ed6e487de75a
4
+ data.tar.gz: a2d78b7ff4c4403785ab5ea2615f00bbb73ef22b08d71566a91fac3ff10343b8
5
5
  SHA512:
6
- metadata.gz: 2458654d3533c235d660d69ba9f5d282bf68cabe42780be97e8f68dc7e7387d5b852e96dbd93593e2f4166333edc82c2ecc0e34477536efea4f0ec7176667cf8
7
- data.tar.gz: 962bcb360d8c213be2de393a609f6c9d8e65c6c242410c4c3fef564e449200adc50a550841847487aa5dab2f65394b086a69f33aa0c4292bc2372cdcc4ba144f
6
+ metadata.gz: 7e7f57fb789f4c2a548d3536a69eb88391021b9c57b34bade00e450291072da4771ac67681d6e5d5b2b0a09b0995560be2a258af712daadde90a35ab7bc1c1dc
7
+ data.tar.gz: 315d2342b701b4eb979aabeae4b18c416b52ec4dd92052ca52c487e9680fa427268eff0e65bb1ca9620c79a77446dcab313252bd0961a070c3e7432a2a82fdf9
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.6+.
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
 
@@ -339,10 +342,11 @@ module Google
339
342
  # Customize the options with defaults
340
343
  metadata = @config.rpcs.list_queues.metadata.to_h
341
344
 
342
- # Set x-goog-api-client and x-goog-user-project headers
345
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
343
346
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
344
347
  lib_name: @config.lib_name, lib_version: @config.lib_version,
345
348
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
349
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
346
350
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
347
351
 
348
352
  header_params = {}
@@ -431,10 +435,11 @@ module Google
431
435
  # Customize the options with defaults
432
436
  metadata = @config.rpcs.get_queue.metadata.to_h
433
437
 
434
- # Set x-goog-api-client and x-goog-user-project headers
438
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
435
439
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
436
440
  lib_name: @config.lib_name, lib_version: @config.lib_version,
437
441
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
442
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
438
443
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
439
444
 
440
445
  header_params = {}
@@ -537,10 +542,11 @@ module Google
537
542
  # Customize the options with defaults
538
543
  metadata = @config.rpcs.create_queue.metadata.to_h
539
544
 
540
- # Set x-goog-api-client and x-goog-user-project headers
545
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
541
546
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
542
547
  lib_name: @config.lib_name, lib_version: @config.lib_version,
543
548
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
549
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
544
550
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
545
551
 
546
552
  header_params = {}
@@ -648,10 +654,11 @@ module Google
648
654
  # Customize the options with defaults
649
655
  metadata = @config.rpcs.update_queue.metadata.to_h
650
656
 
651
- # Set x-goog-api-client and x-goog-user-project headers
657
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
652
658
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
653
659
  lib_name: @config.lib_name, lib_version: @config.lib_version,
654
660
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
661
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
655
662
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
656
663
 
657
664
  header_params = {}
@@ -746,10 +753,11 @@ module Google
746
753
  # Customize the options with defaults
747
754
  metadata = @config.rpcs.delete_queue.metadata.to_h
748
755
 
749
- # Set x-goog-api-client and x-goog-user-project headers
756
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
750
757
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
751
758
  lib_name: @config.lib_name, lib_version: @config.lib_version,
752
759
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
760
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
753
761
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
754
762
 
755
763
  header_params = {}
@@ -837,10 +845,11 @@ module Google
837
845
  # Customize the options with defaults
838
846
  metadata = @config.rpcs.purge_queue.metadata.to_h
839
847
 
840
- # Set x-goog-api-client and x-goog-user-project headers
848
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
841
849
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
842
850
  lib_name: @config.lib_name, lib_version: @config.lib_version,
843
851
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
852
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
844
853
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
845
854
 
846
855
  header_params = {}
@@ -930,10 +939,11 @@ module Google
930
939
  # Customize the options with defaults
931
940
  metadata = @config.rpcs.pause_queue.metadata.to_h
932
941
 
933
- # Set x-goog-api-client and x-goog-user-project headers
942
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
934
943
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
935
944
  lib_name: @config.lib_name, lib_version: @config.lib_version,
936
945
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
946
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
937
947
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
938
948
 
939
949
  header_params = {}
@@ -1030,10 +1040,11 @@ module Google
1030
1040
  # Customize the options with defaults
1031
1041
  metadata = @config.rpcs.resume_queue.metadata.to_h
1032
1042
 
1033
- # Set x-goog-api-client and x-goog-user-project headers
1043
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1034
1044
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1035
1045
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1036
1046
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1047
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1037
1048
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1038
1049
 
1039
1050
  header_params = {}
@@ -1123,10 +1134,11 @@ module Google
1123
1134
  # Customize the options with defaults
1124
1135
  metadata = @config.rpcs.upload_queue_yaml.metadata.to_h
1125
1136
 
1126
- # Set x-goog-api-client and x-goog-user-project headers
1137
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1127
1138
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1128
1139
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1129
1140
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1141
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1130
1142
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1131
1143
 
1132
1144
  options.apply_defaults timeout: @config.rpcs.upload_queue_yaml.timeout,
@@ -1212,10 +1224,11 @@ module Google
1212
1224
  # Customize the options with defaults
1213
1225
  metadata = @config.rpcs.get_iam_policy.metadata.to_h
1214
1226
 
1215
- # Set x-goog-api-client and x-goog-user-project headers
1227
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1216
1228
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1217
1229
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1218
1230
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1231
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1219
1232
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1220
1233
 
1221
1234
  header_params = {}
@@ -1319,10 +1332,11 @@ module Google
1319
1332
  # Customize the options with defaults
1320
1333
  metadata = @config.rpcs.set_iam_policy.metadata.to_h
1321
1334
 
1322
- # Set x-goog-api-client and x-goog-user-project headers
1335
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1323
1336
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1324
1337
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1325
1338
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1339
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1326
1340
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1327
1341
 
1328
1342
  header_params = {}
@@ -1417,10 +1431,11 @@ module Google
1417
1431
  # Customize the options with defaults
1418
1432
  metadata = @config.rpcs.test_iam_permissions.metadata.to_h
1419
1433
 
1420
- # Set x-goog-api-client and x-goog-user-project headers
1434
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1421
1435
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1422
1436
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1423
1437
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1438
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1424
1439
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1425
1440
 
1426
1441
  header_params = {}
@@ -1548,10 +1563,11 @@ module Google
1548
1563
  # Customize the options with defaults
1549
1564
  metadata = @config.rpcs.list_tasks.metadata.to_h
1550
1565
 
1551
- # Set x-goog-api-client and x-goog-user-project headers
1566
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1552
1567
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1553
1568
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1554
1569
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1570
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1555
1571
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1556
1572
 
1557
1573
  header_params = {}
@@ -1649,10 +1665,11 @@ module Google
1649
1665
  # Customize the options with defaults
1650
1666
  metadata = @config.rpcs.get_task.metadata.to_h
1651
1667
 
1652
- # Set x-goog-api-client and x-goog-user-project headers
1668
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1653
1669
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1654
1670
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1655
1671
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1672
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1656
1673
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1657
1674
 
1658
1675
  header_params = {}
@@ -1793,10 +1810,11 @@ module Google
1793
1810
  # Customize the options with defaults
1794
1811
  metadata = @config.rpcs.create_task.metadata.to_h
1795
1812
 
1796
- # Set x-goog-api-client and x-goog-user-project headers
1813
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1797
1814
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1798
1815
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1799
1816
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1817
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1800
1818
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1801
1819
 
1802
1820
  header_params = {}
@@ -1883,10 +1901,11 @@ module Google
1883
1901
  # Customize the options with defaults
1884
1902
  metadata = @config.rpcs.delete_task.metadata.to_h
1885
1903
 
1886
- # Set x-goog-api-client and x-goog-user-project headers
1904
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1887
1905
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1888
1906
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1889
1907
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
1908
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1890
1909
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1891
1910
 
1892
1911
  header_params = {}
@@ -2072,10 +2091,11 @@ module Google
2072
2091
  # Customize the options with defaults
2073
2092
  metadata = @config.rpcs.lease_tasks.metadata.to_h
2074
2093
 
2075
- # Set x-goog-api-client and x-goog-user-project headers
2094
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2076
2095
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2077
2096
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2078
2097
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
2098
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2079
2099
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2080
2100
 
2081
2101
  header_params = {}
@@ -2177,10 +2197,11 @@ module Google
2177
2197
  # Customize the options with defaults
2178
2198
  metadata = @config.rpcs.acknowledge_task.metadata.to_h
2179
2199
 
2180
- # Set x-goog-api-client and x-goog-user-project headers
2200
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2181
2201
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2182
2202
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2183
2203
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
2204
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2184
2205
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2185
2206
 
2186
2207
  header_params = {}
@@ -2294,10 +2315,11 @@ module Google
2294
2315
  # Customize the options with defaults
2295
2316
  metadata = @config.rpcs.renew_lease.metadata.to_h
2296
2317
 
2297
- # Set x-goog-api-client and x-goog-user-project headers
2318
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2298
2319
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2299
2320
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2300
2321
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
2322
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2301
2323
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2302
2324
 
2303
2325
  header_params = {}
@@ -2405,10 +2427,11 @@ module Google
2405
2427
  # Customize the options with defaults
2406
2428
  metadata = @config.rpcs.cancel_lease.metadata.to_h
2407
2429
 
2408
- # Set x-goog-api-client and x-goog-user-project headers
2430
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2409
2431
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2410
2432
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2411
2433
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
2434
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2412
2435
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2413
2436
 
2414
2437
  header_params = {}
@@ -2534,10 +2557,11 @@ module Google
2534
2557
  # Customize the options with defaults
2535
2558
  metadata = @config.rpcs.run_task.metadata.to_h
2536
2559
 
2537
- # Set x-goog-api-client and x-goog-user-project headers
2560
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2538
2561
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2539
2562
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2540
2563
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
2564
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2541
2565
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2542
2566
 
2543
2567
  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
 
@@ -330,12 +333,13 @@ module Google
330
333
  # Customize the options with defaults
331
334
  call_metadata = @config.rpcs.list_queues.metadata.to_h
332
335
 
333
- # Set x-goog-api-client and x-goog-user-project headers
336
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
334
337
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
335
338
  lib_name: @config.lib_name, lib_version: @config.lib_version,
336
339
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
337
340
  transports_version_send: [:rest]
338
341
 
342
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
339
343
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
340
344
 
341
345
  options.apply_defaults timeout: @config.rpcs.list_queues.timeout,
@@ -415,12 +419,13 @@ module Google
415
419
  # Customize the options with defaults
416
420
  call_metadata = @config.rpcs.get_queue.metadata.to_h
417
421
 
418
- # Set x-goog-api-client and x-goog-user-project headers
422
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
419
423
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
420
424
  lib_name: @config.lib_name, lib_version: @config.lib_version,
421
425
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
422
426
  transports_version_send: [:rest]
423
427
 
428
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
424
429
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
425
430
 
426
431
  options.apply_defaults timeout: @config.rpcs.get_queue.timeout,
@@ -514,12 +519,13 @@ module Google
514
519
  # Customize the options with defaults
515
520
  call_metadata = @config.rpcs.create_queue.metadata.to_h
516
521
 
517
- # Set x-goog-api-client and x-goog-user-project headers
522
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
518
523
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
519
524
  lib_name: @config.lib_name, lib_version: @config.lib_version,
520
525
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
521
526
  transports_version_send: [:rest]
522
527
 
528
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
523
529
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
524
530
 
525
531
  options.apply_defaults timeout: @config.rpcs.create_queue.timeout,
@@ -618,12 +624,13 @@ module Google
618
624
  # Customize the options with defaults
619
625
  call_metadata = @config.rpcs.update_queue.metadata.to_h
620
626
 
621
- # Set x-goog-api-client and x-goog-user-project headers
627
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
622
628
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
623
629
  lib_name: @config.lib_name, lib_version: @config.lib_version,
624
630
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
625
631
  transports_version_send: [:rest]
626
632
 
633
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
627
634
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
628
635
 
629
636
  options.apply_defaults timeout: @config.rpcs.update_queue.timeout,
@@ -709,12 +716,13 @@ module Google
709
716
  # Customize the options with defaults
710
717
  call_metadata = @config.rpcs.delete_queue.metadata.to_h
711
718
 
712
- # Set x-goog-api-client and x-goog-user-project headers
719
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
713
720
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
714
721
  lib_name: @config.lib_name, lib_version: @config.lib_version,
715
722
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
716
723
  transports_version_send: [:rest]
717
724
 
725
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
718
726
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
719
727
 
720
728
  options.apply_defaults timeout: @config.rpcs.delete_queue.timeout,
@@ -793,12 +801,13 @@ module Google
793
801
  # Customize the options with defaults
794
802
  call_metadata = @config.rpcs.purge_queue.metadata.to_h
795
803
 
796
- # Set x-goog-api-client and x-goog-user-project headers
804
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
797
805
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
798
806
  lib_name: @config.lib_name, lib_version: @config.lib_version,
799
807
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
800
808
  transports_version_send: [:rest]
801
809
 
810
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
802
811
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
803
812
 
804
813
  options.apply_defaults timeout: @config.rpcs.purge_queue.timeout,
@@ -879,12 +888,13 @@ module Google
879
888
  # Customize the options with defaults
880
889
  call_metadata = @config.rpcs.pause_queue.metadata.to_h
881
890
 
882
- # Set x-goog-api-client and x-goog-user-project headers
891
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
883
892
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
884
893
  lib_name: @config.lib_name, lib_version: @config.lib_version,
885
894
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
886
895
  transports_version_send: [:rest]
887
896
 
897
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
888
898
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
889
899
 
890
900
  options.apply_defaults timeout: @config.rpcs.pause_queue.timeout,
@@ -972,12 +982,13 @@ module Google
972
982
  # Customize the options with defaults
973
983
  call_metadata = @config.rpcs.resume_queue.metadata.to_h
974
984
 
975
- # Set x-goog-api-client and x-goog-user-project headers
985
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
976
986
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
977
987
  lib_name: @config.lib_name, lib_version: @config.lib_version,
978
988
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
979
989
  transports_version_send: [:rest]
980
990
 
991
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
981
992
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
982
993
 
983
994
  options.apply_defaults timeout: @config.rpcs.resume_queue.timeout,
@@ -1062,12 +1073,13 @@ module Google
1062
1073
  # Customize the options with defaults
1063
1074
  call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
1064
1075
 
1065
- # Set x-goog-api-client and x-goog-user-project headers
1076
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1066
1077
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1067
1078
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1068
1079
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1069
1080
  transports_version_send: [:rest]
1070
1081
 
1082
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1071
1083
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1072
1084
 
1073
1085
  options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
@@ -1162,12 +1174,13 @@ module Google
1162
1174
  # Customize the options with defaults
1163
1175
  call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
1164
1176
 
1165
- # Set x-goog-api-client and x-goog-user-project headers
1177
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1166
1178
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1167
1179
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1168
1180
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1169
1181
  transports_version_send: [:rest]
1170
1182
 
1183
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1171
1184
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1172
1185
 
1173
1186
  options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
@@ -1253,12 +1266,13 @@ module Google
1253
1266
  # Customize the options with defaults
1254
1267
  call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
1255
1268
 
1256
- # Set x-goog-api-client and x-goog-user-project headers
1269
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1257
1270
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1258
1271
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1259
1272
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1260
1273
  transports_version_send: [:rest]
1261
1274
 
1275
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1262
1276
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1263
1277
 
1264
1278
  options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
@@ -1377,12 +1391,13 @@ module Google
1377
1391
  # Customize the options with defaults
1378
1392
  call_metadata = @config.rpcs.list_tasks.metadata.to_h
1379
1393
 
1380
- # Set x-goog-api-client and x-goog-user-project headers
1394
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1381
1395
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1382
1396
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1383
1397
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1384
1398
  transports_version_send: [:rest]
1385
1399
 
1400
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1386
1401
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1387
1402
 
1388
1403
  options.apply_defaults timeout: @config.rpcs.list_tasks.timeout,
@@ -1471,12 +1486,13 @@ module Google
1471
1486
  # Customize the options with defaults
1472
1487
  call_metadata = @config.rpcs.get_task.metadata.to_h
1473
1488
 
1474
- # Set x-goog-api-client and x-goog-user-project headers
1489
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1475
1490
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1476
1491
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1477
1492
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1478
1493
  transports_version_send: [:rest]
1479
1494
 
1495
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1480
1496
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1481
1497
 
1482
1498
  options.apply_defaults timeout: @config.rpcs.get_task.timeout,
@@ -1608,12 +1624,13 @@ module Google
1608
1624
  # Customize the options with defaults
1609
1625
  call_metadata = @config.rpcs.create_task.metadata.to_h
1610
1626
 
1611
- # Set x-goog-api-client and x-goog-user-project headers
1627
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1612
1628
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1613
1629
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1614
1630
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1615
1631
  transports_version_send: [:rest]
1616
1632
 
1633
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1617
1634
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1618
1635
 
1619
1636
  options.apply_defaults timeout: @config.rpcs.create_task.timeout,
@@ -1691,12 +1708,13 @@ module Google
1691
1708
  # Customize the options with defaults
1692
1709
  call_metadata = @config.rpcs.delete_task.metadata.to_h
1693
1710
 
1694
- # Set x-goog-api-client and x-goog-user-project headers
1711
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1695
1712
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1696
1713
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1697
1714
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1698
1715
  transports_version_send: [:rest]
1699
1716
 
1717
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1700
1718
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1701
1719
 
1702
1720
  options.apply_defaults timeout: @config.rpcs.delete_task.timeout,
@@ -1873,12 +1891,13 @@ module Google
1873
1891
  # Customize the options with defaults
1874
1892
  call_metadata = @config.rpcs.lease_tasks.metadata.to_h
1875
1893
 
1876
- # Set x-goog-api-client and x-goog-user-project headers
1894
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1877
1895
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1878
1896
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1879
1897
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1880
1898
  transports_version_send: [:rest]
1881
1899
 
1900
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1882
1901
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1883
1902
 
1884
1903
  options.apply_defaults timeout: @config.rpcs.lease_tasks.timeout,
@@ -1971,12 +1990,13 @@ module Google
1971
1990
  # Customize the options with defaults
1972
1991
  call_metadata = @config.rpcs.acknowledge_task.metadata.to_h
1973
1992
 
1974
- # Set x-goog-api-client and x-goog-user-project headers
1993
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1975
1994
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1976
1995
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1977
1996
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
1978
1997
  transports_version_send: [:rest]
1979
1998
 
1999
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1980
2000
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1981
2001
 
1982
2002
  options.apply_defaults timeout: @config.rpcs.acknowledge_task.timeout,
@@ -2081,12 +2101,13 @@ module Google
2081
2101
  # Customize the options with defaults
2082
2102
  call_metadata = @config.rpcs.renew_lease.metadata.to_h
2083
2103
 
2084
- # Set x-goog-api-client and x-goog-user-project headers
2104
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2085
2105
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2086
2106
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2087
2107
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
2088
2108
  transports_version_send: [:rest]
2089
2109
 
2110
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2090
2111
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2091
2112
 
2092
2113
  options.apply_defaults timeout: @config.rpcs.renew_lease.timeout,
@@ -2185,12 +2206,13 @@ module Google
2185
2206
  # Customize the options with defaults
2186
2207
  call_metadata = @config.rpcs.cancel_lease.metadata.to_h
2187
2208
 
2188
- # Set x-goog-api-client and x-goog-user-project headers
2209
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2189
2210
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2190
2211
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2191
2212
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
2192
2213
  transports_version_send: [:rest]
2193
2214
 
2215
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2194
2216
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2195
2217
 
2196
2218
  options.apply_defaults timeout: @config.rpcs.cancel_lease.timeout,
@@ -2307,12 +2329,13 @@ module Google
2307
2329
  # Customize the options with defaults
2308
2330
  call_metadata = @config.rpcs.run_task.metadata.to_h
2309
2331
 
2310
- # Set x-goog-api-client and x-goog-user-project headers
2332
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2311
2333
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2312
2334
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2313
2335
  gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
2314
2336
  transports_version_send: [:rest]
2315
2337
 
2338
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2316
2339
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2317
2340
 
2318
2341
  options.apply_defaults timeout: @config.rpcs.run_task.timeout,
@@ -19,7 +19,7 @@ require 'google/protobuf/field_mask_pb'
19
19
  require 'google/protobuf/timestamp_pb'
20
20
 
21
21
 
22
- descriptor_data = "\n+google/cloud/tasks/v2beta2/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/tasks/v2beta2/queue.proto\x1a%google/cloud/tasks/v2beta2/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x01\n\x11ListQueuesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\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\x33\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"`\n\x12ListQueuesResponse\x12\x31\n\x06queues\x18\x01 \x03(\x0b\x32!.google.cloud.tasks.v2beta2.Queue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"~\n\x0fGetQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x33\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"\x86\x01\n\x12\x43reateQueueRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x36\n\x05queue\x18\x02 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x04\xe2\x41\x01\x02\"}\n\x12UpdateQueueRequest\x12\x36\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"L\n\x12\x44\x65leteQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x11PurgeQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x11PauseQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"L\n\x12ResumeQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"j\n\x16UploadQueueYamlRequest\x12\x14\n\x06\x61pp_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12,\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBodyH\x00\x88\x01\x01\x42\x0c\n\n_http_body\"\xb0\x01\n\x10ListTasksRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x85\x01\n\x0eGetTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc0\x01\n\x11\x43reateTaskRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x34\n\x04task\x18\x02 \x01(\x0b\x32 .google.cloud.tasks.v2beta2.TaskB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"J\n\x11\x44\x65leteTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\"\xe6\x01\n\x11LeaseTasksRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x11\n\tmax_tasks\x18\x02 \x01(\x05\x12\x37\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"E\n\x12LeaseTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\"\x88\x01\n\x16\x41\x63knowledgeTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\"\xfa\x01\n\x11RenewLeaseRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12\x37\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc2\x01\n\x12\x43\x61ncelLeaseRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\x85\x01\n\x0eRunTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View2\xb5\x1d\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta2.ListQueuesRequest\x1a..google.cloud.tasks.v2beta2.ListQueuesResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{parent=projects/*/locations/*}/queues\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta2.GetQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{name=projects/*/locations/*/queues/*}\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta2.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"M\xda\x41\x0cparent,queue\x82\xd3\xe4\x93\x02\x38\"//v2beta2/{parent=projects/*/locations/*}/queues:\x05queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta2.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"X\xda\x41\x11queue,update_mask\x82\xd3\xe4\x93\x02>25/v2beta2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2beta2/{name=projects/*/locations/*/queues/*}\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta2.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:purge:\x01*\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta2.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:pause:\x01*\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta2.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v2beta2/{name=projects/*/locations/*/queues/*}:resume:\x01*\x12_\n\x0fUploadQueueYaml\x12\x32.google.cloud.tasks.v2beta2.UploadQueueYamlRequest\x1a\x16.google.protobuf.Empty\"\x00\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\"@/v2beta2/{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\"@/v2beta2/{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/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta2.ListTasksRequest\x1a-.google.cloud.tasks.v2beta2.ListTasksResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta2.GetTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta2.CreateTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"P\xda\x41\x0bparent,task\x82\xd3\xe4\x93\x02<\"7/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xcd\x01\n\nLeaseTasks\x12-.google.cloud.tasks.v2beta2.LeaseTasksRequest\x1a..google.cloud.tasks.v2beta2.LeaseTasksResponse\"`\xda\x41\x15parent,lease_duration\x82\xd3\xe4\x93\x02\x42\"=/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease:\x01*\x12\xc2\x01\n\x0f\x41\x63knowledgeTask\x12\x32.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest\x1a\x16.google.protobuf.Empty\"c\xda\x41\x12name,schedule_time\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge:\x01*\x12\xd0\x01\n\nRenewLease\x12-.google.cloud.tasks.v2beta2.RenewLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"q\xda\x41!name,schedule_time,lease_duration\x82\xd3\xe4\x93\x02G\"B/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease:\x01*\x12\xc4\x01\n\x0b\x43\x61ncelLease\x12..google.cloud.tasks.v2beta2.CancelLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"c\xda\x41\x12name,schedule_time\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease:\x01*\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta2.RunTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKS\xea\x41M\n\"cloudtasks.googleapis.com/Location\x12\'projects/{project}/locations/{location}b\x06proto3"
22
+ descriptor_data = "\n+google/cloud/tasks/v2beta2/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/tasks/v2beta2/queue.proto\x1a%google/cloud/tasks/v2beta2/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.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.v2beta2.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.v2beta2.QueueB\x03\xe0\x41\x02\"|\n\x12UpdateQueueRequest\x12\x35\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.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\"i\n\x16UploadQueueYamlRequest\x12\x13\n\x06\x61pp_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12,\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBodyH\x00\x88\x01\x01\x42\x0c\n\n_http_body\"\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.v2beta2.Task.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.TaskB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.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\"\xe4\x01\n\x11LeaseTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x11\n\tmax_tasks\x18\x02 \x01(\x05\x12\x36\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"E\n\x12LeaseTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\"\x86\x01\n\x16\x41\x63knowledgeTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xf7\x01\n\x11RenewLeaseRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x36\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc0\x01\n\x12\x43\x61ncelLeaseRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\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.v2beta2.Task.View2\xb5\x1d\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta2.ListQueuesRequest\x1a..google.cloud.tasks.v2beta2.ListQueuesResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{parent=projects/*/locations/*}/queues\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta2.GetQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{name=projects/*/locations/*/queues/*}\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta2.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"M\xda\x41\x0cparent,queue\x82\xd3\xe4\x93\x02\x38\"//v2beta2/{parent=projects/*/locations/*}/queues:\x05queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta2.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"X\xda\x41\x11queue,update_mask\x82\xd3\xe4\x93\x02>25/v2beta2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2beta2/{name=projects/*/locations/*/queues/*}\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta2.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:purge:\x01*\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta2.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:pause:\x01*\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta2.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v2beta2/{name=projects/*/locations/*/queues/*}:resume:\x01*\x12_\n\x0fUploadQueueYaml\x12\x32.google.cloud.tasks.v2beta2.UploadQueueYamlRequest\x1a\x16.google.protobuf.Empty\"\x00\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\"@/v2beta2/{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\"@/v2beta2/{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/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta2.ListTasksRequest\x1a-.google.cloud.tasks.v2beta2.ListTasksResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta2.GetTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta2.CreateTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"P\xda\x41\x0bparent,task\x82\xd3\xe4\x93\x02<\"7/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xcd\x01\n\nLeaseTasks\x12-.google.cloud.tasks.v2beta2.LeaseTasksRequest\x1a..google.cloud.tasks.v2beta2.LeaseTasksResponse\"`\xda\x41\x15parent,lease_duration\x82\xd3\xe4\x93\x02\x42\"=/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease:\x01*\x12\xc2\x01\n\x0f\x41\x63knowledgeTask\x12\x32.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest\x1a\x16.google.protobuf.Empty\"c\xda\x41\x12name,schedule_time\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge:\x01*\x12\xd0\x01\n\nRenewLease\x12-.google.cloud.tasks.v2beta2.RenewLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"q\xda\x41!name,schedule_time,lease_duration\x82\xd3\xe4\x93\x02G\"B/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease:\x01*\x12\xc4\x01\n\x0b\x43\x61ncelLease\x12..google.cloud.tasks.v2beta2.CancelLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"c\xda\x41\x12name,schedule_time\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease:\x01*\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta2.RunTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKS\xea\x41M\n\"cloudtasks.googleapis.com/Location\x12\'projects/{project}/locations/{location}b\x06proto3"
23
23
 
24
24
  pool = Google::Protobuf::DescriptorPool.generated_pool
25
25
 
@@ -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/v2beta2/queue.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks/v2beta2/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9a\x06\n\x05Queue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x16\x61pp_engine_http_target\x18\x03 \x01(\x0b\x32/.google.cloud.tasks.v2beta2.AppEngineHttpTargetH\x00\x12=\n\x0bpull_target\x18\x04 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.PullTargetH\x00\x12=\n\x0bhttp_target\x18\x11 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.HttpTargetH\x00\x12;\n\x0brate_limits\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.RateLimits\x12=\n\x0cretry_config\x18\x06 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.RetryConfig\x12\x36\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.tasks.v2beta2.Queue.State\x12.\n\npurge_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08task_ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rtombstone_ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x05stats\x18\x10 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.QueueStatsB\x04\xe2\x41\x01\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:\\\xea\x41Y\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x36projects/{project}/locations/{location}/queues/{queue}B\r\n\x0btarget_type\"k\n\nRateLimits\x12\'\n\x1fmax_tasks_dispatched_per_second\x18\x01 \x01(\x01\x12\x16\n\x0emax_burst_size\x18\x02 \x01(\x05\x12\x1c\n\x14max_concurrent_tasks\x18\x03 \x01(\x05\"\x81\x02\n\x0bRetryConfig\x12\x16\n\x0cmax_attempts\x18\x01 \x01(\x05H\x00\x12\x1c\n\x12unlimited_attempts\x18\x02 \x01(\x08H\x00\x12\x35\n\x12max_retry_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmin_backoff\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmax_backoff\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x06 \x01(\x05\x42\x0e\n\x0cnum_attempts\"\xed\x01\n\nQueueStats\x12\x19\n\x0btasks_count\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12G\n\x1doldest_estimated_arrival_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12(\n\x1a\x65xecuted_last_minute_count\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12)\n\x1b\x63oncurrent_dispatches_count\x18\x04 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12&\n\x18\x65\x66\x66\x65\x63tive_execution_rate\x18\x05 \x01(\x01\x42\x04\xe2\x41\x01\x03\x42s\n\x1e\x63om.google.cloud.tasks.v2beta2B\nQueueProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
14
+ descriptor_data = "\n&google/cloud/tasks/v2beta2/queue.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks/v2beta2/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x99\x06\n\x05Queue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x16\x61pp_engine_http_target\x18\x03 \x01(\x0b\x32/.google.cloud.tasks.v2beta2.AppEngineHttpTargetH\x00\x12=\n\x0bpull_target\x18\x04 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.PullTargetH\x00\x12=\n\x0bhttp_target\x18\x11 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.HttpTargetH\x00\x12;\n\x0brate_limits\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.RateLimits\x12=\n\x0cretry_config\x18\x06 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.RetryConfig\x12\x36\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.tasks.v2beta2.Queue.State\x12.\n\npurge_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08task_ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rtombstone_ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x05stats\x18\x10 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.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:\\\xea\x41Y\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x36projects/{project}/locations/{location}/queues/{queue}B\r\n\x0btarget_type\"k\n\nRateLimits\x12\'\n\x1fmax_tasks_dispatched_per_second\x18\x01 \x01(\x01\x12\x16\n\x0emax_burst_size\x18\x02 \x01(\x05\x12\x1c\n\x14max_concurrent_tasks\x18\x03 \x01(\x05\"\x81\x02\n\x0bRetryConfig\x12\x16\n\x0cmax_attempts\x18\x01 \x01(\x05H\x00\x12\x1c\n\x12unlimited_attempts\x18\x02 \x01(\x08H\x00\x12\x35\n\x12max_retry_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmin_backoff\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmax_backoff\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x06 \x01(\x05\x42\x0e\n\x0cnum_attempts\"\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.v2beta2B\nQueueProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -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/v2beta2/target.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\"\x0c\n\nPullTarget\"+\n\x0bPullMessage\x12\x0f\n\x07payload\x18\x01 \x01(\x0c\x12\x0b\n\x03tag\x18\x02 \x01(\t\"h\n\x13\x41ppEngineHttpTarget\x12Q\n\x1b\x61pp_engine_routing_override\x18\x01 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\"\xc4\x02\n\x14\x41ppEngineHttpRequest\x12;\n\x0bhttp_method\x18\x01 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12H\n\x12\x61pp_engine_routing\x18\x02 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\x12\x14\n\x0crelative_url\x18\x03 \x01(\t\x12N\n\x07headers\x18\x04 \x03(\x0b\x32=.google.cloud.tasks.v2beta2.AppEngineHttpRequest.HeadersEntry\x12\x0f\n\x07payload\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\"\xf6\x02\n\x0bHttpRequest\x12\x11\n\x03url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12\x45\n\x07headers\x18\x03 \x03(\x0b\x32\x34.google.cloud.tasks.v2beta2.HttpRequest.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.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\"\x1c\n\x0cPathOverride\x12\x0c\n\x04path\x18\x01 \x01(\t\"%\n\rQueryOverride\x12\x14\n\x0cquery_params\x18\x01 \x01(\t\"\x97\x04\n\x0bUriOverride\x12\x43\n\x06scheme\x18\x01 \x01(\x0e\x32..google.cloud.tasks.v2beta2.UriOverride.SchemeH\x00\x88\x01\x01\x12\x11\n\x04host\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12?\n\rpath_override\x18\x04 \x01(\x0b\x32(.google.cloud.tasks.v2beta2.PathOverride\x12\x41\n\x0equery_override\x18\x05 \x01(\x0b\x32).google.cloud.tasks.v2beta2.QueryOverride\x12\x61\n\x19uri_override_enforce_mode\x18\x06 \x01(\x0e\x32>.google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode\"5\n\x06Scheme\x12\x16\n\x12SCHEME_UNSPECIFIED\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\"b\n\x16UriOverrideEnforceMode\x12)\n%URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED\x10\x00\x12\x11\n\rIF_NOT_EXISTS\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\x42\t\n\x07_schemeB\x07\n\x05_hostB\x07\n\x05_port\"\xe4\x03\n\nHttpTarget\x12=\n\x0curi_override\x18\x01 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.UriOverride\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12O\n\x10header_overrides\x18\x03 \x03(\x0b\x32\x35.google.cloud.tasks.v2beta2.HttpTarget.HeaderOverride\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.OidcTokenH\x00\x1a$\n\x06Header\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aO\n\x0eHeaderOverride\x12=\n\x06header\x18\x01 \x01(\x0b\x32-.google.cloud.tasks.v2beta2.HttpTarget.HeaderB\x16\n\x14\x61uthorization_header\":\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\x42t\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0bTargetProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
10
+ descriptor_data = "\n\'google/cloud/tasks/v2beta2/target.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\"\x0c\n\nPullTarget\"+\n\x0bPullMessage\x12\x0f\n\x07payload\x18\x01 \x01(\x0c\x12\x0b\n\x03tag\x18\x02 \x01(\t\"h\n\x13\x41ppEngineHttpTarget\x12Q\n\x1b\x61pp_engine_routing_override\x18\x01 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\"\xc4\x02\n\x14\x41ppEngineHttpRequest\x12;\n\x0bhttp_method\x18\x01 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12H\n\x12\x61pp_engine_routing\x18\x02 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\x12\x14\n\x0crelative_url\x18\x03 \x01(\t\x12N\n\x07headers\x18\x04 \x03(\x0b\x32=.google.cloud.tasks.v2beta2.AppEngineHttpRequest.HeadersEntry\x12\x0f\n\x07payload\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\"\xf5\x02\n\x0bHttpRequest\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12\x45\n\x07headers\x18\x03 \x03(\x0b\x32\x34.google.cloud.tasks.v2beta2.HttpRequest.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.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\"\x1c\n\x0cPathOverride\x12\x0c\n\x04path\x18\x01 \x01(\t\"%\n\rQueryOverride\x12\x14\n\x0cquery_params\x18\x01 \x01(\t\"\x97\x04\n\x0bUriOverride\x12\x43\n\x06scheme\x18\x01 \x01(\x0e\x32..google.cloud.tasks.v2beta2.UriOverride.SchemeH\x00\x88\x01\x01\x12\x11\n\x04host\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12?\n\rpath_override\x18\x04 \x01(\x0b\x32(.google.cloud.tasks.v2beta2.PathOverride\x12\x41\n\x0equery_override\x18\x05 \x01(\x0b\x32).google.cloud.tasks.v2beta2.QueryOverride\x12\x61\n\x19uri_override_enforce_mode\x18\x06 \x01(\x0e\x32>.google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode\"5\n\x06Scheme\x12\x16\n\x12SCHEME_UNSPECIFIED\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\"b\n\x16UriOverrideEnforceMode\x12)\n%URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED\x10\x00\x12\x11\n\rIF_NOT_EXISTS\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\x42\t\n\x07_schemeB\x07\n\x05_hostB\x07\n\x05_port\"\xe4\x03\n\nHttpTarget\x12=\n\x0curi_override\x18\x01 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.UriOverride\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12O\n\x10header_overrides\x18\x03 \x03(\x0b\x32\x35.google.cloud.tasks.v2beta2.HttpTarget.HeaderOverride\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.OidcTokenH\x00\x1a$\n\x06Header\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aO\n\x0eHeaderOverride\x12=\n\x06header\x18\x01 \x01(\x0b\x32-.google.cloud.tasks.v2beta2.HttpTarget.HeaderB\x16\n\x14\x61uthorization_header\":\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\x42t\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0bTargetProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.11.3"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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
- # publishing:
298
- # method_settings:
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
- # seconds: 360 # 6 minutes
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
- # publishing:
317
- # method_settings:
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'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
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-v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.12.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-02-01 00:00:00.000000000 Z
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
@@ -255,14 +143,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
143
  requirements:
256
144
  - - ">="
257
145
  - !ruby/object:Gem::Version
258
- version: '2.6'
146
+ version: '2.7'
259
147
  required_rubygems_version: !ruby/object:Gem::Requirement
260
148
  requirements:
261
149
  - - ">="
262
150
  - !ruby/object:Gem::Version
263
151
  version: '0'
264
152
  requirements: []
265
- rubygems_version: 3.5.3
153
+ rubygems_version: 3.5.6
266
154
  signing_key:
267
155
  specification_version: 4
268
156
  summary: Manages the execution of large numbers of distributed requests.