google-cloud-tasks-v2beta3 0.8.0 → 0.10.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: e848c0e2ea1059134114147aa3b908c54a9a59edab4a25e611318b25029a0eea
4
- data.tar.gz: da4cc4abc7deb4d4453a8c008688449a96432337ef55d60adb31fa08091d8509
3
+ metadata.gz: 20374139f661f5a687aff76ba1c7ce753c28cf2ffe377c8cd686d82a5f81c4e4
4
+ data.tar.gz: 4c1e36c74ea0f2840060d2942b4c5d97b4787781bcef8670670801a585b53ea0
5
5
  SHA512:
6
- metadata.gz: c5a473903e7aa8b33ca149dd37f4852bc1c824f7fc3db7201719ed16c3cd13bf88af02091d2fd1cf57f4d11fced57540a060f27d5cd7ce321b5d97b37bf6a1da
7
- data.tar.gz: 3577c50b3ac771f2b3f067044a27ee26327520d077d85c486da0a1d5f97372b0d287e21ce0eac6e4c6511033672779b9f379a41ab9701f44c6fec10815943160
6
+ metadata.gz: 5ba416b1b9950b1001414f41604a03f7a6be2a9fdd16b270ebe4c8118749a7042ddeaab568be6eeb594a954bdc837ff853730d414323556abdc104c8731f9d9c
7
+ data.tar.gz: 0d7dcb504c0be8c3d05af0041dc9d063ce55a4001a65f95854be35e654b50e79588271a577df296b30538f5b417e774cd16016e35fc02fc4b043ee30d94317ec
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,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
 
@@ -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
@@ -1936,9 +1932,9 @@ module Google
1936
1932
  # * (`String`) The path to a service account key file in JSON format
1937
1933
  # * (`Hash`) A service account key as a Hash
1938
1934
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1939
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1935
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1940
1936
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1941
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1937
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1942
1938
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1943
1939
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1944
1940
  # * (`nil`) indicating no credentials