google-cloud-tasks 0.4.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19caa61f704229d96a9b7a0af59d8ec01e3a20cc2d6dacdeb0fce4e633752a80
4
- data.tar.gz: 65c1143058fbad91ad391d3df4ab8b244150d546093b477a71dc24d6f1b6d1a7
3
+ metadata.gz: 855608553ef9a63ca7066338b8f0b61aede7c79771ca2a2d590f5ac109355823
4
+ data.tar.gz: af36ad44070e9b2e48d08f50c92c22133ace08a830ba1253684053c841d21986
5
5
  SHA512:
6
- metadata.gz: bcfa3261c61ef0dd49a994c9a06cd9030f3fab69c0a52c42455cb8a50a509b54ca0ec87b8d7c5cd0ae4c5c0066c2fb58edd58272d4d607c3b520bff4e7dfd956
7
- data.tar.gz: 06f71f2817abf33da4d224320a5e6bf54757b37029ccaa82a693b7dd826af16b160d0a89340699393be3e2596c92ae6608d0166cb1aacae0eac23aff477b14fd
6
+ metadata.gz: 6597530e93ce015e05d802a0c9c7a2a81fccbfea1cd3df22a9c0bf6c9fbda500718f8d2d005d6a0cdfbafb49ce2c210fdaabb2f90d302fd4f7ebe838632bd556
7
+ data.tar.gz: cc22a1b4f358ed690c2b79ae198816580d97cbb0df380fbfe3295abd8d7679f3eead9a09baaab3177bdddd459254e682df9dd8bbd11f9c94a6628c8cb7f91dc9
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  require "google/cloud/tasks/v2beta2/cloud_tasks_client"
17
+ require "google/cloud/tasks/v2beta2/helpers"
17
18
 
18
19
  module Google
19
20
  module Cloud
@@ -0,0 +1,56 @@
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
+ module Google
15
+ module Cloud
16
+ module Tasks
17
+ module V2beta2
18
+ class CloudTasksClient
19
+ # Alias for Google::Cloud::Tasks::V2beta2::CloudTasksClient.location_path.
20
+ # @param project [String]
21
+ # @param location [String]
22
+ # @return [String]
23
+ def location_path project, location
24
+ self.class.location_path project, location
25
+ end
26
+
27
+ # Alias for Google::Cloud::Tasks::V2beta2::CloudTasksClient.project_path.
28
+ # @param project [String]
29
+ # @return [String]
30
+ def project_path project
31
+ self.class.project_path project
32
+ end
33
+
34
+ # Alias for Google::Cloud::Tasks::V2beta2::CloudTasksClient.queue_path.
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param queue [String]
38
+ # @return [String]
39
+ def queue_path project, location, queue
40
+ self.class.queue_path project, location, queue
41
+ end
42
+
43
+ # Alias for Google::Cloud::Tasks::V2beta2::CloudTasksClient.task_path.
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param queue [String]
47
+ # @param task [String]
48
+ # @return [String]
49
+ def task_path project, location, queue, task
50
+ self.class.task_path project, location, queue, task
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  require "google/cloud/tasks/v2beta3/cloud_tasks_client"
17
+ require "google/cloud/tasks/v2beta3/helpers"
17
18
 
18
19
  module Google
19
20
  module Cloud
@@ -0,0 +1,56 @@
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
+ module Google
15
+ module Cloud
16
+ module Tasks
17
+ module V2beta3
18
+ class CloudTasksClient
19
+ # Alias for Google::Cloud::Tasks::V2beta3::CloudTasksClient.location_path.
20
+ # @param project [String]
21
+ # @param location [String]
22
+ # @return [String]
23
+ def location_path project, location
24
+ self.class.location_path project, location
25
+ end
26
+
27
+ # Alias for Google::Cloud::Tasks::V2beta3::CloudTasksClient.project_path.
28
+ # @param project [String]
29
+ # @return [String]
30
+ def project_path project
31
+ self.class.project_path project
32
+ end
33
+
34
+ # Alias for Google::Cloud::Tasks::V2beta3::CloudTasksClient.queue_path.
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param queue [String]
38
+ # @return [String]
39
+ def queue_path project, location, queue
40
+ self.class.queue_path project, location, queue
41
+ end
42
+
43
+ # Alias for Google::Cloud::Tasks::V2beta3::CloudTasksClient.task_path.
44
+ # @param project [String]
45
+ # @param location [String]
46
+ # @param queue [String]
47
+ # @param task [String]
48
+ # @return [String]
49
+ def task_path project, location, queue, task
50
+ self.class.task_path project, location, queue, task
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
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.0
4
+ version: 0.5.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-12 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -136,6 +136,7 @@ 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/helpers.rb
139
140
  - lib/google/cloud/tasks/v2beta2/queue_pb.rb
140
141
  - lib/google/cloud/tasks/v2beta2/target_pb.rb
141
142
  - lib/google/cloud/tasks/v2beta2/task_pb.rb
@@ -157,6 +158,7 @@ files:
157
158
  - lib/google/cloud/tasks/v2beta3/doc/google/protobuf/field_mask.rb
158
159
  - lib/google/cloud/tasks/v2beta3/doc/google/protobuf/timestamp.rb
159
160
  - lib/google/cloud/tasks/v2beta3/doc/google/rpc/status.rb
161
+ - lib/google/cloud/tasks/v2beta3/helpers.rb
160
162
  - lib/google/cloud/tasks/v2beta3/queue_pb.rb
161
163
  - lib/google/cloud/tasks/v2beta3/target_pb.rb
162
164
  - lib/google/cloud/tasks/v2beta3/task_pb.rb
@@ -179,8 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
181
  - !ruby/object:Gem::Version
180
182
  version: '0'
181
183
  requirements: []
182
- rubyforge_project:
183
- rubygems_version: 2.7.6
184
+ rubygems_version: 3.0.3
184
185
  signing_key:
185
186
  specification_version: 4
186
187
  summary: API Client library for Cloud Tasks API