google-cloud-tasks-v2beta2 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45cbb03da51110c45e6ecf56013e1f1b7092e399698a04f8678907ba389a3b63
4
- data.tar.gz: 92c29c492a67703fddd698cb97f44d6574e3057552e7d0260871108f70824c5b
3
+ metadata.gz: 6203eb854c7216227b2de9d96c61dad8dbb35f1ca749e49ca8ce59ca4d3356cc
4
+ data.tar.gz: 3ccd440af9128e474ce6b6c82c3205b48eefa61d6d2886edce936784b6394488
5
5
  SHA512:
6
- metadata.gz: c6311f0865284e4d71a47711f6458c8c74e7e72dbb3e5e0a778abd3153ba307ea8235f606bb671f004a5b942bf2135fc68665e1c743e6845a2a85d68e61f19d2
7
- data.tar.gz: fdb145c597cd2b12883fdf471863d208c77a400c762864740641c87e6bd663775b22c11e6b7e4f23cde8bded991d7bacbce7eb8aa2eebb9802e4e6e461da9cfe
6
+ metadata.gz: 9d99d7256dbde8d66440c4a3f8eb9409c16578008e634f998f59fcb50dd71aa93fbe011f75a58c730058795e7626932fb2f38a1a864c5cdbc693d80fe3d6b0d0
7
+ data.tar.gz: 41751820a0d624ed73d4ab8e66d3367bdc51706c3709d18aeb42a9c37572e31946d970c5e7b63de7ceaa97b4783b353ba5193ed73f1e90b5cbdc09909f7d0f70
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Tasks V2beta2 API
2
2
 
3
- API Client library for the Cloud Tasks V2beta2 API
3
+ Manages the execution of large numbers of distributed requests.
4
4
 
5
5
  Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.
6
6
 
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -287,13 +287,11 @@ module Google
287
287
  # # Call the list_queues method.
288
288
  # result = client.list_queues request
289
289
  #
290
- # # The returned object is of type Gapic::PagedEnumerable. You can
291
- # # iterate over all elements by calling #each, and the enumerable
292
- # # will lazily make API calls to fetch subsequent pages. Other
293
- # # methods are also available for managing paging directly.
294
- # result.each do |response|
290
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
291
+ # # over elements, and API calls will be issued to fetch pages as needed.
292
+ # result.each do |item|
295
293
  # # Each element is of type ::Google::Cloud::Tasks::V2beta2::Queue.
296
- # p response
294
+ # p item
297
295
  # end
298
296
  #
299
297
  def list_queues request, options = nil
@@ -1405,13 +1403,11 @@ module Google
1405
1403
  # # Call the list_tasks method.
1406
1404
  # result = client.list_tasks request
1407
1405
  #
1408
- # # The returned object is of type Gapic::PagedEnumerable. You can
1409
- # # iterate over all elements by calling #each, and the enumerable
1410
- # # will lazily make API calls to fetch subsequent pages. Other
1411
- # # methods are also available for managing paging directly.
1412
- # result.each do |response|
1406
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1407
+ # # over elements, and API calls will be issued to fetch pages as needed.
1408
+ # result.each do |item|
1413
1409
  # # Each element is of type ::Google::Cloud::Tasks::V2beta2::Task.
1414
- # p response
1410
+ # p item
1415
1411
  # end
1416
1412
  #
1417
1413
  def list_tasks request, options = nil