google-cloud-tasks-v2beta2 0.13.0 → 0.14.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: baa8e9db28eecbf3afcea14c0a0cf2d48881564108786427b58e0bed2694d669
4
- data.tar.gz: 1497d6dbca25b657db8faf6d88f6d6a798d87a7547df3f5e1890df621238df4d
3
+ metadata.gz: 6f54dc418d80793634c2e27112e9042becb5cb9026d3cfaec11b8a2f9e0096c3
4
+ data.tar.gz: 21effb61589d0325eb6f4ca68af31ac310ce390efb0171e26497f47c487a23f2
5
5
  SHA512:
6
- metadata.gz: 2b69d5c369ab6270afdb40bd9b7b3877da0d3bf1402488f7558a97cf16c92d8c9a02e27fdab45908eca6e726e9507ff72a2d95581293b311d87bad23d09a23c8
7
- data.tar.gz: 2d9faaae9c2ee52561c2d0175b81f8a9d53a53b7be19e651145a6b8fde2f88f4dbcdfb022bdd86c45b6e6d84fb7e6fa876cac346213775325778604944cbe94b
6
+ metadata.gz: dd018ae64dcd6a5db33b359341ad680c31aeffb6a9d2d2b6bd66b39807a9b8c08e554316688cc706a9ed182ce27c99a02f1e8225fc5f804f86eac1a43d03bf59
7
+ data.tar.gz: 32f9c4b8137293c1a9086241b90c38f6302b90ffa89c49e95373d87e058092b152c34f0f1e77c68fa73a04a03371ed32771545aa97bd52ec7d732315a5641f16
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
@@ -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
@@ -2688,8 +2695,8 @@ module Google
2688
2695
 
2689
2696
  config_attr :endpoint, nil, ::String, nil
2690
2697
  config_attr :credentials, nil do |value|
2691
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2692
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2698
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2699
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2693
2700
  allowed.any? { |klass| klass === value }
2694
2701
  end
2695
2702
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -2446,7 +2453,7 @@ module Google
2446
2453
 
2447
2454
  config_attr :endpoint, nil, ::String, nil
2448
2455
  config_attr :credentials, nil do |value|
2449
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2456
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2450
2457
  allowed.any? { |klass| klass === value }
2451
2458
  end
2452
2459
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.13.0"
24
+ VERSION = "0.14.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
@@ -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.13.0
4
+ version: 0.14.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
@@ -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: '2.7'
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.5.23
154
- signing_key:
151
+ rubygems_version: 3.6.8
155
152
  specification_version: 4
156
153
  summary: Manages the execution of large numbers of distributed requests.
157
154
  test_files: []