google-cloud-tasks 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/google/cloud/tasks.rb +4 -4
- data/lib/google/cloud/tasks/v2beta2.rb +4 -4
- data/lib/google/cloud/tasks/v2beta2/cloud_tasks_client.rb +61 -61
- data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/cloudtasks.rb +38 -38
- data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb +25 -25
- data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/target.rb +42 -42
- data/lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb +11 -11
- data/lib/google/cloud/tasks/v2beta2/doc/google/iam/v1/iam_policy.rb +13 -13
- data/lib/google/cloud/tasks/v2beta2/doc/google/iam/v1/policy.rb +28 -28
- data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/any.rb +8 -8
- data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/duration.rb +3 -3
- data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/empty.rb +1 -1
- data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/field_mask.rb +7 -7
- data/lib/google/cloud/tasks/v2beta2/doc/google/protobuf/timestamp.rb +7 -7
- data/lib/google/cloud/tasks/v2beta2/doc/google/rpc/status.rb +11 -11
- metadata +3 -4
- data/lib/google/cloud/tasks/v2beta2/doc/overview.rb +0 -80
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -136,11 +136,10 @@ files:
|
|
136
136
|
- lib/google/cloud/tasks/v2beta2/doc/google/protobuf/field_mask.rb
|
137
137
|
- lib/google/cloud/tasks/v2beta2/doc/google/protobuf/timestamp.rb
|
138
138
|
- lib/google/cloud/tasks/v2beta2/doc/google/rpc/status.rb
|
139
|
-
- lib/google/cloud/tasks/v2beta2/doc/overview.rb
|
140
139
|
- lib/google/cloud/tasks/v2beta2/queue_pb.rb
|
141
140
|
- lib/google/cloud/tasks/v2beta2/target_pb.rb
|
142
141
|
- lib/google/cloud/tasks/v2beta2/task_pb.rb
|
143
|
-
homepage: https://github.com/
|
142
|
+
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-tasks
|
144
143
|
licenses:
|
145
144
|
- Apache-2.0
|
146
145
|
metadata: {}
|
@@ -1,80 +0,0 @@
|
|
1
|
-
# Copyright 2018 Google LLC
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
|
16
|
-
module Google
|
17
|
-
module Cloud
|
18
|
-
# rubocop:disable LineLength
|
19
|
-
|
20
|
-
##
|
21
|
-
# # Ruby Client for Cloud Tasks API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
|
22
|
-
#
|
23
|
-
# [Cloud Tasks API][Product Documentation]:
|
24
|
-
# Manages the execution of large numbers of distributed requests.
|
25
|
-
# - [Product Documentation][]
|
26
|
-
#
|
27
|
-
# ## Quick Start
|
28
|
-
# In order to use this library, you first need to go through the following
|
29
|
-
# steps:
|
30
|
-
#
|
31
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
32
|
-
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
33
|
-
# 3. [Enable the Cloud Tasks API.](https://console.cloud.google.com/apis/library/tasks.googleapis.com)
|
34
|
-
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
35
|
-
#
|
36
|
-
# ### Installation
|
37
|
-
# ```
|
38
|
-
# $ gem install google-cloud-tasks
|
39
|
-
# ```
|
40
|
-
#
|
41
|
-
# ### Next Steps
|
42
|
-
# - Read the [Cloud Tasks API Product documentation][Product Documentation]
|
43
|
-
# to learn more about the product and see How-to Guides.
|
44
|
-
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
45
|
-
# to see the full list of Cloud APIs that we cover.
|
46
|
-
#
|
47
|
-
# [Product Documentation]: https://cloud.google.com/tasks
|
48
|
-
#
|
49
|
-
# ## Enabling Logging
|
50
|
-
#
|
51
|
-
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
52
|
-
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
53
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
|
54
|
-
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
55
|
-
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
56
|
-
#
|
57
|
-
# Configuring a Ruby stdlib logger:
|
58
|
-
#
|
59
|
-
# ```ruby
|
60
|
-
# require "logger"
|
61
|
-
#
|
62
|
-
# module MyLogger
|
63
|
-
# LOGGER = Logger.new $stderr, level: Logger::WARN
|
64
|
-
# def logger
|
65
|
-
# LOGGER
|
66
|
-
# end
|
67
|
-
# end
|
68
|
-
#
|
69
|
-
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
70
|
-
# module GRPC
|
71
|
-
# extend MyLogger
|
72
|
-
# end
|
73
|
-
# ```
|
74
|
-
#
|
75
|
-
module Tasks
|
76
|
-
module V2beta2
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|