google-cloud-tasks 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/tasks/v2/cloud_tasks_client.rb +1254 -0
- data/lib/google/cloud/tasks/v2/cloud_tasks_client_config.json +106 -0
- data/lib/google/cloud/tasks/v2/cloudtasks_pb.rb +99 -0
- data/lib/google/cloud/tasks/v2/cloudtasks_services_pb.rb +200 -0
- data/lib/google/cloud/tasks/v2/credentials.rb +41 -0
- data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/cloudtasks.rb +340 -0
- data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb +333 -0
- data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/target.rb +270 -0
- data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb +170 -0
- data/lib/google/cloud/tasks/v2/doc/google/iam/v1/iam_policy.rb +63 -0
- data/lib/google/cloud/tasks/v2/doc/google/iam/v1/policy.rb +104 -0
- data/lib/google/cloud/tasks/v2/doc/google/protobuf/any.rb +130 -0
- data/lib/google/cloud/tasks/v2/doc/google/protobuf/duration.rb +91 -0
- data/lib/google/cloud/tasks/v2/doc/google/protobuf/empty.rb +29 -0
- data/lib/google/cloud/tasks/v2/doc/google/protobuf/field_mask.rb +230 -0
- data/lib/google/cloud/tasks/v2/doc/google/protobuf/timestamp.rb +109 -0
- data/lib/google/cloud/tasks/v2/doc/google/rpc/status.rb +87 -0
- data/lib/google/cloud/tasks/v2/helpers.rb +56 -0
- data/lib/google/cloud/tasks/v2/queue_pb.rb +51 -0
- data/lib/google/cloud/tasks/v2/target_pb.rb +44 -0
- data/lib/google/cloud/tasks/v2/task_pb.rb +50 -0
- data/lib/google/cloud/tasks/v2.rb +139 -0
- data/lib/google/cloud/tasks.rb +2 -2
- metadata +24 -2
data/lib/google/cloud/tasks.rb
CHANGED
@@ -91,7 +91,7 @@ module Google
|
|
91
91
|
# work in their applications.
|
92
92
|
#
|
93
93
|
# @param version [Symbol, String]
|
94
|
-
# The major version of the service to be used. By default :
|
94
|
+
# The major version of the service to be used. By default :v2
|
95
95
|
# is used.
|
96
96
|
# @overload new(version:, credentials:, scopes:, client_config:, timeout:)
|
97
97
|
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
@@ -123,7 +123,7 @@ module Google
|
|
123
123
|
# @param exception_transformer [Proc]
|
124
124
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
125
125
|
# custom error handling.
|
126
|
-
def self.new(*args, version: :
|
126
|
+
def self.new(*args, version: :v2, **kwargs)
|
127
127
|
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
|
128
128
|
raise "The version: #{version} is not available. The available versions " \
|
129
129
|
"are: [#{AVAILABLE_VERSIONS.join(", ")}]"
|
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.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -118,6 +118,28 @@ files:
|
|
118
118
|
- LICENSE
|
119
119
|
- README.md
|
120
120
|
- lib/google/cloud/tasks.rb
|
121
|
+
- lib/google/cloud/tasks/v2.rb
|
122
|
+
- lib/google/cloud/tasks/v2/cloud_tasks_client.rb
|
123
|
+
- lib/google/cloud/tasks/v2/cloud_tasks_client_config.json
|
124
|
+
- lib/google/cloud/tasks/v2/cloudtasks_pb.rb
|
125
|
+
- lib/google/cloud/tasks/v2/cloudtasks_services_pb.rb
|
126
|
+
- lib/google/cloud/tasks/v2/credentials.rb
|
127
|
+
- lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/cloudtasks.rb
|
128
|
+
- lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb
|
129
|
+
- lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/target.rb
|
130
|
+
- lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/task.rb
|
131
|
+
- lib/google/cloud/tasks/v2/doc/google/iam/v1/iam_policy.rb
|
132
|
+
- lib/google/cloud/tasks/v2/doc/google/iam/v1/policy.rb
|
133
|
+
- lib/google/cloud/tasks/v2/doc/google/protobuf/any.rb
|
134
|
+
- lib/google/cloud/tasks/v2/doc/google/protobuf/duration.rb
|
135
|
+
- lib/google/cloud/tasks/v2/doc/google/protobuf/empty.rb
|
136
|
+
- lib/google/cloud/tasks/v2/doc/google/protobuf/field_mask.rb
|
137
|
+
- lib/google/cloud/tasks/v2/doc/google/protobuf/timestamp.rb
|
138
|
+
- lib/google/cloud/tasks/v2/doc/google/rpc/status.rb
|
139
|
+
- lib/google/cloud/tasks/v2/helpers.rb
|
140
|
+
- lib/google/cloud/tasks/v2/queue_pb.rb
|
141
|
+
- lib/google/cloud/tasks/v2/target_pb.rb
|
142
|
+
- lib/google/cloud/tasks/v2/task_pb.rb
|
121
143
|
- lib/google/cloud/tasks/v2beta2.rb
|
122
144
|
- lib/google/cloud/tasks/v2beta2/cloud_tasks_client.rb
|
123
145
|
- lib/google/cloud/tasks/v2beta2/cloud_tasks_client_config.json
|