google-cloud-tasks-v2beta3 0.14.0 → 0.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2925024bb984638b4b28272fa9fc91f238fd19f483497d2ebfb6d33876c0535
4
- data.tar.gz: b6461353ae0e011c7a20e376196487934be663e5ddf3bf66a43334e580c5a18e
3
+ metadata.gz: 748fd130a96f58daff07a60257a877502d510d304af29321c663483039dda986
4
+ data.tar.gz: bda8fd6ea2aaa4a31bade8564d4f1614acde28a4b43517f1c20fea0a91a4c114
5
5
  SHA512:
6
- metadata.gz: 5cee037649f8489bec184b6f5d75ecead55bbee7b43c807f9e03acee77b690a962b93cf67370f2e33b7af9bf10c5fbf0d7a31696e97483b4f7a103f9970b34a6
7
- data.tar.gz: 8ecf1acbc0cf27dbeb242a13fe4fa31092752f0983e476670faf88605e1a3f608b10c5689ed44e07de6cd1009216d932567583cf0605a46c0ffb522282fb3a0a
6
+ metadata.gz: 6f22745b6eac5581e14130e8453ad3c713117dd21fd88737d8bd35bb613075a327ba7e7ff731d5eef5819e9650e3e14ac4bce5dd1100d4f6c93bff8dcb8420a5
7
+ data.tar.gz: a59345af8f54b0a2e6da7eab39a1a31066b73f6f105ea04e1934797c2a593c33536ab101ee24b79c7c8ac8a8c36dcff2b077a531ca4b41b832e79a4eaf66b872
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 2.7+.
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
@@ -2010,6 +2010,13 @@ module Google
2010
2010
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2011
2011
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2012
2012
  # * (`nil`) indicating no credentials
2013
+ #
2014
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2015
+ # external source for authentication to Google Cloud, you must validate it before
2016
+ # providing it to a Google API client library. Providing an unvalidated credential
2017
+ # configuration to Google APIs can compromise the security of your systems and data.
2018
+ # For more information, refer to [Validate credential configurations from external
2019
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2013
2020
  # @return [::Object]
2014
2021
  # @!attribute [rw] scope
2015
2022
  # The OAuth scopes
@@ -2064,8 +2071,8 @@ module Google
2064
2071
 
2065
2072
  config_attr :endpoint, nil, ::String, nil
2066
2073
  config_attr :credentials, nil do |value|
2067
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2068
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2074
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2075
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2069
2076
  allowed.any? { |klass| klass === value }
2070
2077
  end
2071
2078
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1890,6 +1890,13 @@ module Google
1890
1890
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1891
1891
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1892
1892
  # * (`nil`) indicating no credentials
1893
+ #
1894
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1895
+ # external source for authentication to Google Cloud, you must validate it before
1896
+ # providing it to a Google API client library. Providing an unvalidated credential
1897
+ # configuration to Google APIs can compromise the security of your systems and data.
1898
+ # For more information, refer to [Validate credential configurations from external
1899
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1893
1900
  # @return [::Object]
1894
1901
  # @!attribute [rw] scope
1895
1902
  # The OAuth scopes
@@ -1937,7 +1944,7 @@ module Google
1937
1944
 
1938
1945
  config_attr :endpoint, nil, ::String, nil
1939
1946
  config_attr :credentials, nil do |value|
1940
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1947
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1941
1948
  allowed.any? { |klass| klass === value }
1942
1949
  end
1943
1950
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta3
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -209,6 +209,8 @@ module Google
209
209
  #
210
210
  # This type of authorization should generally only be used when calling
211
211
  # Google APIs hosted on *.googleapis.com.
212
+ #
213
+ # 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.
212
214
  # @!attribute [rw] oidc_token
213
215
  # @return [::Google::Cloud::Tasks::V2beta3::OidcToken]
214
216
  # If specified, an
@@ -219,6 +221,8 @@ module Google
219
221
  # This type of authorization can be used for many scenarios, including
220
222
  # calling Cloud Run, or endpoints where you intend to validate the token
221
223
  # yourself.
224
+ #
225
+ # 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.
222
226
  class HttpTarget
223
227
  include ::Google::Protobuf::MessageExts
224
228
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -340,6 +344,8 @@ module Google
340
344
  #
341
345
  # This type of authorization should generally only be used when calling
342
346
  # Google APIs hosted on *.googleapis.com.
347
+ #
348
+ # 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.
343
349
  # @!attribute [rw] oidc_token
344
350
  # @return [::Google::Cloud::Tasks::V2beta3::OidcToken]
345
351
  # If specified, an
@@ -350,6 +356,8 @@ module Google
350
356
  # This type of authorization can be used for many scenarios, including
351
357
  # calling Cloud Run, or endpoints where you intend to validate the token
352
358
  # yourself.
359
+ #
360
+ # 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.
353
361
  class HttpRequest
354
362
  include ::Google::Protobuf::MessageExts
355
363
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -52,12 +52,16 @@ module Google
52
52
  # An App Engine task is a task that has
53
53
  # {::Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest AppEngineHttpRequest}
54
54
  # set.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `app_engine_http_request`, `http_request`, `pull_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
55
57
  # @!attribute [rw] http_request
56
58
  # @return [::Google::Cloud::Tasks::V2beta3::HttpRequest]
57
59
  # HTTP request that is sent to the task's target.
58
60
  #
59
61
  # An HTTP task is a task that has
60
62
  # {::Google::Cloud::Tasks::V2beta3::HttpRequest HttpRequest} set.
63
+ #
64
+ # 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.
61
65
  # @!attribute [rw] pull_message
62
66
  # @return [::Google::Cloud::Tasks::V2beta3::PullMessage]
63
67
  # Pull Message contained in a task in a
@@ -67,6 +71,8 @@ module Google
67
71
  # [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/)
68
72
  # queues to provide a way to inspect contents of pull tasks through the
69
73
  # {::Google::Cloud::Tasks::V2beta3::CloudTasks::Client#get_task CloudTasks.GetTask}.
74
+ #
75
+ # 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.
70
76
  # @!attribute [rw] schedule_time
71
77
  # @return [::Google::Protobuf::Timestamp]
72
78
  # 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-v2beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
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.24.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.24.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: '2.7'
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.5.23
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: []