google-cloud-tasks-v2 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/tasks/v2/cloud_tasks/client.rb +7 -0
- data/lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb +7 -0
- data/lib/google/cloud/tasks/v2/version.rb +1 -1
- data/proto_docs/google/cloud/tasks/v2/target.rb +4 -0
- data/proto_docs/google/cloud/tasks/v2/task.rb +4 -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: d00cea7a9af58b093e997fdd723275e55ee67fc4fb92f691f0b690a034d05f0e
|
4
|
+
data.tar.gz: 0264b30fecafbb9317a9c40e8f761dd62fa3b74aa9977e4251e59bb2bb9fe4b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c04d4adf0f274cd30967dfd876006dc9d818a46c8566954875f77ad9972f9dd1dd5e9fc5ae1a544833bed84080e0ad2e32af031e393531d862fc29e45c5ac3a8
|
7
|
+
data.tar.gz: 9f97e68bfde3ded91432f93ee295bbe4247b370177d19fcfadfe182dcfc104476d7da8db3301c3ad25c6dcca7cfe4857418f03f22e588ee06a96a51761d77c94
|
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
|
@@ -1992,6 +1992,13 @@ module Google
|
|
1992
1992
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1993
1993
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1994
1994
|
# * (`nil`) indicating no credentials
|
1995
|
+
#
|
1996
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1997
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1998
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1999
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2000
|
+
# For more information, refer to [Validate credential configurations from external
|
2001
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1995
2002
|
# @return [::Object]
|
1996
2003
|
# @!attribute [rw] scope
|
1997
2004
|
# The OAuth scopes
|
@@ -1872,6 +1872,13 @@ module Google
|
|
1872
1872
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1873
1873
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1874
1874
|
# * (`nil`) indicating no credentials
|
1875
|
+
#
|
1876
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1877
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1878
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1879
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1880
|
+
# For more information, refer to [Validate credential configurations from external
|
1881
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1875
1882
|
# @return [::Object]
|
1876
1883
|
# @!attribute [rw] scope
|
1877
1884
|
# The OAuth scopes
|
@@ -113,6 +113,8 @@ module Google
|
|
113
113
|
#
|
114
114
|
# This type of authorization should generally only be used when calling
|
115
115
|
# Google APIs hosted on *.googleapis.com.
|
116
|
+
#
|
117
|
+
# 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.
|
116
118
|
# @!attribute [rw] oidc_token
|
117
119
|
# @return [::Google::Cloud::Tasks::V2::OidcToken]
|
118
120
|
# If specified, an
|
@@ -123,6 +125,8 @@ module Google
|
|
123
125
|
# This type of authorization can be used for many scenarios, including
|
124
126
|
# calling Cloud Run, or endpoints where you intend to validate the token
|
125
127
|
# yourself.
|
128
|
+
#
|
129
|
+
# 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.
|
126
130
|
class HttpRequest
|
127
131
|
include ::Google::Protobuf::MessageExts
|
128
132
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -51,12 +51,16 @@ module Google
|
|
51
51
|
#
|
52
52
|
# An App Engine task is a task that has
|
53
53
|
# {::Google::Cloud::Tasks::V2::AppEngineHttpRequest AppEngineHttpRequest} set.
|
54
|
+
#
|
55
|
+
# Note: The following fields are mutually exclusive: `app_engine_http_request`, `http_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
54
56
|
# @!attribute [rw] http_request
|
55
57
|
# @return [::Google::Cloud::Tasks::V2::HttpRequest]
|
56
58
|
# HTTP request that is sent to the worker.
|
57
59
|
#
|
58
60
|
# An HTTP task is a task that has
|
59
61
|
# {::Google::Cloud::Tasks::V2::HttpRequest HttpRequest} set.
|
62
|
+
#
|
63
|
+
# Note: The following fields are mutually exclusive: `http_request`, `app_engine_http_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
60
64
|
# @!attribute [rw] schedule_time
|
61
65
|
# @return [::Google::Protobuf::Timestamp]
|
62
66
|
# The time when the task is scheduled to be attempted or retried.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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
|
@@ -133,7 +132,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
133
132
|
licenses:
|
134
133
|
- Apache-2.0
|
135
134
|
metadata: {}
|
136
|
-
post_install_message:
|
137
135
|
rdoc_options: []
|
138
136
|
require_paths:
|
139
137
|
- lib
|
@@ -141,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
139
|
requirements:
|
142
140
|
- - ">="
|
143
141
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
142
|
+
version: '3.0'
|
145
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
144
|
requirements:
|
147
145
|
- - ">="
|
148
146
|
- !ruby/object:Gem::Version
|
149
147
|
version: '0'
|
150
148
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
152
|
-
signing_key:
|
149
|
+
rubygems_version: 3.6.2
|
153
150
|
specification_version: 4
|
154
151
|
summary: Manages the execution of large numbers of distributed requests.
|
155
152
|
test_files: []
|