google-cloud-tasks-v2beta3 0.7.0 → 0.9.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: 97eb6d565840e425204aa09b2c1eca94de8daf9678151f89d28da0ee87cd0e65
4
- data.tar.gz: 5cb0007e665e9062ba1b9d8e6e1b6024ffcba63acd2eed24489665d7295d2434
3
+ metadata.gz: 2b615f4698c640438fe7f08ca4335a61f4f163a1848d8ad13a9d27170a076c95
4
+ data.tar.gz: 02f2a927b38f9d13b67687eb0584dd9476da3677073950768587630f6e6150bd
5
5
  SHA512:
6
- metadata.gz: f4833141b78f7d7f7f3f69a2cfd46bfb3bb1043e4d7990e150100417d82adabcc8630f303f3a6156b294baeaa94d44b85cf564c12d01a5a00083a0e356eddd69
7
- data.tar.gz: 1c42d2b98a91fd315cc266f9953c66f5b20d4b0bfdb36b0f97f5788228f859c4c2dc750b8137f7fbb2f599d323e5fd169fbe21534471564ee0db6ad71c9b3935
6
+ metadata.gz: 1ce5e043fcdeaa48c635ea4d15e1f35e14c1a5b651e801d288183ce0a1af0108d2b3e8fc89b7bd9ad8f9b378101cc1e725be9e5bac80bb21819fba579e872476
7
+ data.tar.gz: 8da0e52d702adc3069c286a43f20d153b015a7812098a54ce2a2ddba3674dbd57c4e506186725e7fad6883e2e74503d475e1356b299cb0ccb60169b6a6a7a89d
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 V2beta3 API
2
2
 
3
- API Client library for the Cloud Tasks V2beta3 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
 
@@ -279,13 +279,11 @@ module Google
279
279
  # # Call the list_queues method.
280
280
  # result = client.list_queues request
281
281
  #
282
- # # The returned object is of type Gapic::PagedEnumerable. You can
283
- # # iterate over all elements by calling #each, and the enumerable
284
- # # will lazily make API calls to fetch subsequent pages. Other
285
- # # methods are also available for managing paging directly.
286
- # result.each do |response|
282
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
283
+ # # over elements, and API calls will be issued to fetch pages as needed.
284
+ # result.each do |item|
287
285
  # # Each element is of type ::Google::Cloud::Tasks::V2beta3::Queue.
288
- # p response
286
+ # p item
289
287
  # end
290
288
  #
291
289
  def list_queues request, options = nil
@@ -1397,13 +1395,11 @@ module Google
1397
1395
  # # Call the list_tasks method.
1398
1396
  # result = client.list_tasks request
1399
1397
  #
1400
- # # The returned object is of type Gapic::PagedEnumerable. You can
1401
- # # iterate over all elements by calling #each, and the enumerable
1402
- # # will lazily make API calls to fetch subsequent pages. Other
1403
- # # methods are also available for managing paging directly.
1404
- # result.each do |response|
1398
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1399
+ # # over elements, and API calls will be issued to fetch pages as needed.
1400
+ # result.each do |item|
1405
1401
  # # Each element is of type ::Google::Cloud::Tasks::V2beta3::Task.
1406
- # p response
1402
+ # p item
1407
1403
  # end
1408
1404
  #
1409
1405
  def list_tasks request, options = nil