google-cloud-tasks-v2beta2 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb +7 -0
- data/lib/google/cloud/tasks/v2beta2/cloud_tasks/rest/client.rb +7 -0
- data/lib/google/cloud/tasks/v2beta2/version.rb +1 -1
- data/proto_docs/google/cloud/tasks/v2beta2/queue.rb +10 -0
- data/proto_docs/google/cloud/tasks/v2beta2/target.rb +8 -0
- data/proto_docs/google/cloud/tasks/v2beta2/task.rb +6 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56bb06f021c91aa640b436ecef6b6abb99ca142a462ddc1b759e5d4e88e7ea1e
|
4
|
+
data.tar.gz: 6ae775ec86d102747aee94ec611ba7a9f8c4587ba2148711294054b0d79593ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1da31030e7215c1b3f998c306ad648ebec15fcbe483c34237d7e750f502ceec4809de989f8c3ec0e22b5a1926b3908245637008db501e5219a06fc9dd5a7d37
|
7
|
+
data.tar.gz: 682d6f2d79fa7fc859efa7ed3d3c7771649246bcafbf816269352efab92ccaa0ec79db0ba8359fbca160857eceb3121b04d1f0b07d985125f84aff745b826fd7
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -2634,6 +2634,13 @@ module Google
|
|
2634
2634
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2635
2635
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2636
2636
|
# * (`nil`) indicating no credentials
|
2637
|
+
#
|
2638
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2639
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2640
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2641
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2642
|
+
# For more information, refer to [Validate credential configurations from external
|
2643
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2637
2644
|
# @return [::Object]
|
2638
2645
|
# @!attribute [rw] scope
|
2639
2646
|
# The OAuth scopes
|
@@ -2399,6 +2399,13 @@ module Google
|
|
2399
2399
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2400
2400
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2401
2401
|
# * (`nil`) indicating no credentials
|
2402
|
+
#
|
2403
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2404
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2405
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2406
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2407
|
+
# For more information, refer to [Validate credential configurations from external
|
2408
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2402
2409
|
# @return [::Object]
|
2403
2410
|
# @!attribute [rw] scope
|
2404
2411
|
# The OAuth scopes
|
@@ -52,15 +52,21 @@ module Google
|
|
52
52
|
#
|
53
53
|
# An App Engine queue is a queue that has an
|
54
54
|
# {::Google::Cloud::Tasks::V2beta2::AppEngineHttpTarget AppEngineHttpTarget}.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `app_engine_http_target`, `pull_target`, `http_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
55
57
|
# @!attribute [rw] pull_target
|
56
58
|
# @return [::Google::Cloud::Tasks::V2beta2::PullTarget]
|
57
59
|
# Pull target.
|
58
60
|
#
|
59
61
|
# A pull queue is a queue that has a
|
60
62
|
# {::Google::Cloud::Tasks::V2beta2::PullTarget PullTarget}.
|
63
|
+
#
|
64
|
+
# Note: The following fields are mutually exclusive: `pull_target`, `app_engine_http_target`, `http_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
61
65
|
# @!attribute [rw] http_target
|
62
66
|
# @return [::Google::Cloud::Tasks::V2beta2::HttpTarget]
|
63
67
|
# An http_target is used to override the target values for HTTP tasks.
|
68
|
+
#
|
69
|
+
# Note: The following fields are mutually exclusive: `http_target`, `app_engine_http_target`, `pull_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
64
70
|
# @!attribute [rw] rate_limits
|
65
71
|
# @return [::Google::Cloud::Tasks::V2beta2::RateLimits]
|
66
72
|
# Rate limits for task dispatches.
|
@@ -294,9 +300,13 @@ module Google
|
|
294
300
|
# Cloud Tasks will attempt the task `max_attempts` times (that
|
295
301
|
# is, if the first attempt fails, then there will be
|
296
302
|
# `max_attempts - 1` retries). Must be > 0.
|
303
|
+
#
|
304
|
+
# Note: The following fields are mutually exclusive: `max_attempts`, `unlimited_attempts`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
297
305
|
# @!attribute [rw] unlimited_attempts
|
298
306
|
# @return [::Boolean]
|
299
307
|
# If true, then the number of attempts is unlimited.
|
308
|
+
#
|
309
|
+
# Note: The following fields are mutually exclusive: `unlimited_attempts`, `max_attempts`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
300
310
|
# @!attribute [rw] max_retry_duration
|
301
311
|
# @return [::Google::Protobuf::Duration]
|
302
312
|
# If positive, `max_retry_duration` specifies the time limit for
|
@@ -471,6 +471,8 @@ module Google
|
|
471
471
|
#
|
472
472
|
# This type of authorization should generally only be used when calling
|
473
473
|
# Google APIs hosted on *.googleapis.com.
|
474
|
+
#
|
475
|
+
# Note: The following fields are mutually exclusive: `oauth_token`, `oidc_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
474
476
|
# @!attribute [rw] oidc_token
|
475
477
|
# @return [::Google::Cloud::Tasks::V2beta2::OidcToken]
|
476
478
|
# If specified, an
|
@@ -481,6 +483,8 @@ module Google
|
|
481
483
|
# This type of authorization can be used for many scenarios, including
|
482
484
|
# calling Cloud Run, or endpoints where you intend to validate the token
|
483
485
|
# yourself.
|
486
|
+
#
|
487
|
+
# Note: The following fields are mutually exclusive: `oidc_token`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
484
488
|
class HttpRequest
|
485
489
|
include ::Google::Protobuf::MessageExts
|
486
490
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -656,6 +660,8 @@ module Google
|
|
656
660
|
#
|
657
661
|
# This type of authorization should generally only be used when calling
|
658
662
|
# Google APIs hosted on *.googleapis.com.
|
663
|
+
#
|
664
|
+
# Note: The following fields are mutually exclusive: `oauth_token`, `oidc_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
659
665
|
# @!attribute [rw] oidc_token
|
660
666
|
# @return [::Google::Cloud::Tasks::V2beta2::OidcToken]
|
661
667
|
# If specified, an
|
@@ -666,6 +672,8 @@ module Google
|
|
666
672
|
# This type of authorization can be used for many scenarios, including
|
667
673
|
# calling Cloud Run, or endpoints where you intend to validate the token
|
668
674
|
# yourself.
|
675
|
+
#
|
676
|
+
# Note: The following fields are mutually exclusive: `oidc_token`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
669
677
|
class HttpTarget
|
670
678
|
include ::Google::Protobuf::MessageExts
|
671
679
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -55,6 +55,8 @@ module Google
|
|
55
55
|
# An App Engine task is a task that has
|
56
56
|
# {::Google::Cloud::Tasks::V2beta2::AppEngineHttpRequest AppEngineHttpRequest}
|
57
57
|
# set.
|
58
|
+
#
|
59
|
+
# Note: The following fields are mutually exclusive: `app_engine_http_request`, `pull_message`, `http_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
58
60
|
# @!attribute [rw] pull_message
|
59
61
|
# @return [::Google::Cloud::Tasks::V2beta2::PullMessage]
|
60
62
|
# {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#lease_tasks LeaseTasks} to process
|
@@ -64,12 +66,16 @@ module Google
|
|
64
66
|
#
|
65
67
|
# A pull task is a task that has
|
66
68
|
# {::Google::Cloud::Tasks::V2beta2::PullMessage PullMessage} set.
|
69
|
+
#
|
70
|
+
# Note: The following fields are mutually exclusive: `pull_message`, `app_engine_http_request`, `http_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
67
71
|
# @!attribute [rw] http_request
|
68
72
|
# @return [::Google::Cloud::Tasks::V2beta2::HttpRequest]
|
69
73
|
# HTTP request that is sent to the task's target.
|
70
74
|
#
|
71
75
|
# An HTTP task is a task that has
|
72
76
|
# {::Google::Cloud::Tasks::V2beta2::HttpRequest HttpRequest} set.
|
77
|
+
#
|
78
|
+
# Note: The following fields are mutually exclusive: `http_request`, `app_engine_http_request`, `pull_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
73
79
|
# @!attribute [rw] schedule_time
|
74
80
|
# @return [::Google::Protobuf::Timestamp]
|
75
81
|
# The time when the task is scheduled to be attempted.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks-v2beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -135,7 +134,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
135
134
|
licenses:
|
136
135
|
- Apache-2.0
|
137
136
|
metadata: {}
|
138
|
-
post_install_message:
|
139
137
|
rdoc_options: []
|
140
138
|
require_paths:
|
141
139
|
- lib
|
@@ -143,15 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
141
|
requirements:
|
144
142
|
- - ">="
|
145
143
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
144
|
+
version: '3.0'
|
147
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
146
|
requirements:
|
149
147
|
- - ">="
|
150
148
|
- !ruby/object:Gem::Version
|
151
149
|
version: '0'
|
152
150
|
requirements: []
|
153
|
-
rubygems_version: 3.
|
154
|
-
signing_key:
|
151
|
+
rubygems_version: 3.6.2
|
155
152
|
specification_version: 4
|
156
153
|
summary: Manages the execution of large numbers of distributed requests.
|
157
154
|
test_files: []
|