google-cloud-tasks-v2 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: 05b05d7f2f19b2c7e747a422d4b2db87adaab664d80a5d9d8086cbb7c0e4977b
4
- data.tar.gz: c2fbb2d039e5fb81dce5a12f52daf8d4a70c50f5a9211afd44e660ff3eff48c1
3
+ metadata.gz: 064c681abcc996474534d0eb75e5e7439f3951ee6117c4d711633a430347f16c
4
+ data.tar.gz: e86008b03f3a05f17afca6782b02ce57b5b640d54ffb77fea1952d3bc454c917
5
5
  SHA512:
6
- metadata.gz: 67b1e215ee8fb153177c4e2bc58ab97e24391aef0d2a58185291f77737212f3a6ea5e33b37ef512149100b3a0db253688439cb1ba58a2f448f71530847b81715
7
- data.tar.gz: 0b55c1f9ade14907beb741b9f0a57879cad0462b7479f4004641791488577c06e567ec58f9c8dd57dce3217f93530c5c3e7bbe3aa5c4141cf35020a042b45cf7
6
+ metadata.gz: d1a14695f17cbbb5c9506b19a0d139470fa24371ed86c9ca8b3caf2ece08912cbfbcf176ba5ffca71de4451b266b764a5d7fc625c2faa09d7cf3b1619de16f42
7
+ data.tar.gz: 51cfb55f2070950d4d15cdf4a107fbdf46ee006853d8ff77980d7fa58fdb3dea70b6dabf150c5148bb0ac35958004c5f1459b9d0f92e56dbc271f76f14c8c107
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 V2 API
2
2
 
3
- API Client library for the Cloud Tasks V2 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,8 +46,8 @@ 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,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
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
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/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.
53
53
 
@@ -274,13 +274,11 @@ module Google
274
274
  # # Call the list_queues method.
275
275
  # result = client.list_queues request
276
276
  #
277
- # # The returned object is of type Gapic::PagedEnumerable. You can
278
- # # iterate over all elements by calling #each, and the enumerable
279
- # # will lazily make API calls to fetch subsequent pages. Other
280
- # # methods are also available for managing paging directly.
281
- # result.each do |response|
277
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
278
+ # # over elements, and API calls will be issued to fetch pages as needed.
279
+ # result.each do |item|
282
280
  # # Each element is of type ::Google::Cloud::Tasks::V2::Queue.
283
- # p response
281
+ # p item
284
282
  # end
285
283
  #
286
284
  def list_queues request, options = nil
@@ -1387,13 +1385,11 @@ module Google
1387
1385
  # # Call the list_tasks method.
1388
1386
  # result = client.list_tasks request
1389
1387
  #
1390
- # # The returned object is of type Gapic::PagedEnumerable. You can
1391
- # # iterate over all elements by calling #each, and the enumerable
1392
- # # will lazily make API calls to fetch subsequent pages. Other
1393
- # # methods are also available for managing paging directly.
1394
- # result.each do |response|
1388
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1389
+ # # over elements, and API calls will be issued to fetch pages as needed.
1390
+ # result.each do |item|
1395
1391
  # # Each element is of type ::Google::Cloud::Tasks::V2::Task.
1396
- # p response
1392
+ # p item
1397
1393
  # end
1398
1394
  #
1399
1395
  def list_tasks request, options = nil
@@ -1926,9 +1922,9 @@ module Google
1926
1922
  # * (`String`) The path to a service account key file in JSON format
1927
1923
  # * (`Hash`) A service account key as a Hash
1928
1924
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1929
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1925
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1930
1926
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1931
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1927
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1932
1928
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1933
1929
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1934
1930
  # * (`nil`) indicating no credentials