google-cloud-tasks-v2beta3 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb +8 -12
- data/lib/google/cloud/tasks/v2beta3/cloud_tasks/rest/client.rb +1761 -0
- data/lib/google/cloud/tasks/v2beta3/cloud_tasks/rest/service_stub.rb +1002 -0
- data/lib/google/cloud/tasks/v2beta3/cloud_tasks/rest.rb +53 -0
- data/lib/google/cloud/tasks/v2beta3/cloud_tasks.rb +7 -1
- data/lib/google/cloud/tasks/v2beta3/queue_pb.rb +0 -1
- data/lib/google/cloud/tasks/v2beta3/rest.rb +37 -0
- data/lib/google/cloud/tasks/v2beta3/target_pb.rb +0 -2
- data/lib/google/cloud/tasks/v2beta3/task_pb.rb +0 -1
- data/lib/google/cloud/tasks/v2beta3/version.rb +1 -1
- data/lib/google/cloud/tasks/v2beta3.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b615f4698c640438fe7f08ca4335a61f4f163a1848d8ad13a9d27170a076c95
|
4
|
+
data.tar.gz: 02f2a927b38f9d13b67687eb0584dd9476da3677073950768587630f6e6150bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/
|
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.
|
@@ -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
|
-
# #
|
284
|
-
#
|
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
|
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
|
-
# #
|
1402
|
-
#
|
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
|
1402
|
+
# p item
|
1407
1403
|
# end
|
1408
1404
|
#
|
1409
1405
|
def list_tasks request, options = nil
|