google-cloud-tasks-v2 1.1.0 → 1.2.1
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/v2/cloud_tasks/client.rb +9 -2
- data/lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb +8 -1
- data/lib/google/cloud/tasks/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- 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: 04f7711d9a4d9730d9d3ed3db7a7d1f8be55f154f4a736b31c08810d79916392
|
4
|
+
data.tar.gz: 1e0d3673e3df6708f19e7a849760c10a00c7c073b6543d11b0561bebe2c6e284
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca34493c9799a20e0d35264864fcc7461e83386726dbbea736a8e1bd75b32fc972c5b74b2596522a3d16eb2f551b1a13e1dc1610010a1032eb38508e0870d72c
|
7
|
+
data.tar.gz: 634c2f3d005be7dfa5eef81adbd207c2e7d83345ccd4d6fefc7047fcfe8ae1c1dd3b7abdea2cae899f87875745d0aa09ad48b26c5078cce8374b0fe45c8a3b13
|
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
|
@@ -2046,8 +2053,8 @@ module Google
|
|
2046
2053
|
|
2047
2054
|
config_attr :endpoint, nil, ::String, nil
|
2048
2055
|
config_attr :credentials, nil do |value|
|
2049
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2050
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2056
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
2057
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
2051
2058
|
allowed.any? { |klass| klass === value }
|
2052
2059
|
end
|
2053
2060
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -1919,7 +1926,7 @@ module Google
|
|
1919
1926
|
|
1920
1927
|
config_attr :endpoint, nil, ::String, nil
|
1921
1928
|
config_attr :credentials, nil do |value|
|
1922
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1929
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1923
1930
|
allowed.any? { |klass| klass === value }
|
1924
1931
|
end
|
1925
1932
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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.1
|
4
|
+
version: 1.2.1
|
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: 1980-01-02 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.8
|
153
150
|
specification_version: 4
|
154
151
|
summary: Manages the execution of large numbers of distributed requests.
|
155
152
|
test_files: []
|