google-cloud-tasks-v2 0.6.0 → 0.8.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 +3 -3
- data/lib/google/cloud/tasks/v2/cloud_tasks/client.rb +10 -14
- data/lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb +1751 -0
- data/lib/google/cloud/tasks/v2/cloud_tasks/rest/service_stub.rb +1002 -0
- data/lib/google/cloud/tasks/v2/cloud_tasks/rest.rb +53 -0
- data/lib/google/cloud/tasks/v2/cloud_tasks.rb +7 -1
- data/lib/google/cloud/tasks/v2/cloudtasks_pb.rb +27 -60
- data/lib/google/cloud/tasks/v2/queue_pb.rb +27 -31
- data/lib/google/cloud/tasks/v2/rest.rb +37 -0
- data/lib/google/cloud/tasks/v2/target_pb.rb +24 -42
- data/lib/google/cloud/tasks/v2/task_pb.rb +28 -27
- data/lib/google/cloud/tasks/v2/version.rb +1 -1
- data/lib/google/cloud/tasks/v2.rb +7 -2
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/tasks/v2/queue.rb +56 -44
- data/proto_docs/google/cloud/tasks/v2/target.rb +49 -37
- data/proto_docs/google/cloud/tasks/v2/task.rb +17 -10
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +14 -8
@@ -29,8 +29,10 @@ module Google
|
|
29
29
|
# any other HTTP response code is returned or no response is received, the
|
30
30
|
# task will be retried according to the following:
|
31
31
|
#
|
32
|
-
# * User-specified throttling:
|
33
|
-
#
|
32
|
+
# * User-specified throttling: [retry
|
33
|
+
# configuration][google.cloud.tasks.v2.Queue.retry_config],
|
34
|
+
# {::Google::Cloud::Tasks::V2::Queue#rate_limits rate limits}, and the [queue's
|
35
|
+
# state][google.cloud.tasks.v2.Queue.state].
|
34
36
|
#
|
35
37
|
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
36
38
|
# temporarily reduce the queue's effective rate. User-specified settings
|
@@ -39,10 +41,11 @@ module Google
|
|
39
41
|
# System throttling happens because:
|
40
42
|
#
|
41
43
|
# * Cloud Tasks backs off on all errors. Normally the backoff specified in
|
42
|
-
# {::Google::Cloud::Tasks::V2::Queue#rate_limits rate limits} will be used. But
|
43
|
-
# `429` (Too Many Requests), `503` (Service
|
44
|
-
# errors is high, Cloud Tasks will use a
|
45
|
-
# specified in the `Retry-After` HTTP
|
44
|
+
# {::Google::Cloud::Tasks::V2::Queue#rate_limits rate limits} will be used. But
|
45
|
+
# if the worker returns `429` (Too Many Requests), `503` (Service
|
46
|
+
# Unavailable), or the rate of errors is high, Cloud Tasks will use a
|
47
|
+
# higher backoff rate. The retry specified in the `Retry-After` HTTP
|
48
|
+
# response header is considered.
|
46
49
|
#
|
47
50
|
# * To prevent traffic spikes and to smooth sudden increases in traffic,
|
48
51
|
# dispatches ramp up slowly when the queue is newly created or idle and
|
@@ -98,8 +101,9 @@ module Google
|
|
98
101
|
# HTTP request body.
|
99
102
|
#
|
100
103
|
# A request body is allowed only if the
|
101
|
-
# {::Google::Cloud::Tasks::V2::HttpRequest#http_method HTTP method} is POST, PUT,
|
102
|
-
# error to set body on a task with an incompatible
|
104
|
+
# {::Google::Cloud::Tasks::V2::HttpRequest#http_method HTTP method} is POST, PUT,
|
105
|
+
# or PATCH. It is an error to set body on a task with an incompatible
|
106
|
+
# {::Google::Cloud::Tasks::V2::HttpMethod HttpMethod}.
|
103
107
|
# @!attribute [rw] oauth_token
|
104
108
|
# @return [::Google::Cloud::Tasks::V2::OAuthToken]
|
105
109
|
# If specified, an
|
@@ -138,7 +142,8 @@ module Google
|
|
138
142
|
# The message defines the HTTP request that is sent to an App Engine app when
|
139
143
|
# the task is dispatched.
|
140
144
|
#
|
141
|
-
# Using {::Google::Cloud::Tasks::V2::AppEngineHttpRequest AppEngineHttpRequest}
|
145
|
+
# Using {::Google::Cloud::Tasks::V2::AppEngineHttpRequest AppEngineHttpRequest}
|
146
|
+
# requires
|
142
147
|
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
|
143
148
|
# Google IAM permission for the project
|
144
149
|
# and the following scope:
|
@@ -158,8 +163,9 @@ module Google
|
|
158
163
|
# The request to the handler, however, will appear to have used the HTTP
|
159
164
|
# protocol.
|
160
165
|
#
|
161
|
-
# The {::Google::Cloud::Tasks::V2::AppEngineRouting AppEngineRouting} used to
|
162
|
-
# delivered to can be set at the queue-level
|
166
|
+
# The {::Google::Cloud::Tasks::V2::AppEngineRouting AppEngineRouting} used to
|
167
|
+
# construct the URL that the task is delivered to can be set at the queue-level
|
168
|
+
# or task-level:
|
163
169
|
#
|
164
170
|
# * If [app_engine_routing_override is set on the
|
165
171
|
# queue][Queue.app_engine_routing_override], this value is used for all
|
@@ -185,14 +191,15 @@ module Google
|
|
185
191
|
# The task attempt has succeeded if the app's request handler returns an HTTP
|
186
192
|
# response code in the range [`200` - `299`]. The task attempt has failed if
|
187
193
|
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
188
|
-
# not receive response before the
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
194
|
+
# not receive response before the
|
195
|
+
# {::Google::Cloud::Tasks::V2::Task#dispatch_deadline deadline}. Failed tasks will
|
196
|
+
# be retried according to the [retry
|
197
|
+
# configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service
|
198
|
+
# Unavailable) is considered an App Engine system error instead of an
|
199
|
+
# application error and will cause Cloud Tasks' traffic congestion control to
|
200
|
+
# temporarily throttle the queue's dispatches. Unlike other types of task
|
201
|
+
# targets, a `429` (Too Many Requests) response from an app handler does not
|
202
|
+
# cause traffic congestion control to throttle the queue.
|
196
203
|
# @!attribute [rw] http_method
|
197
204
|
# @return [::Google::Cloud::Tasks::V2::HttpMethod]
|
198
205
|
# The HTTP method to use for the request. The default is POST.
|
@@ -239,8 +246,8 @@ module Google
|
|
239
246
|
# `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
|
240
247
|
# modified `User-Agent`.
|
241
248
|
#
|
242
|
-
# If the task has a {::Google::Cloud::Tasks::V2::AppEngineHttpRequest#body body},
|
243
|
-
# Tasks sets the following headers:
|
249
|
+
# If the task has a {::Google::Cloud::Tasks::V2::AppEngineHttpRequest#body body},
|
250
|
+
# Cloud Tasks sets the following headers:
|
244
251
|
#
|
245
252
|
# * `Content-Type`: By default, the `Content-Type` header is set to
|
246
253
|
# `"application/octet-stream"`. The default can be overridden by explicitly
|
@@ -264,14 +271,16 @@ module Google
|
|
264
271
|
# visible when the task is returned in a Cloud Tasks response.
|
265
272
|
#
|
266
273
|
# Although there is no specific limit for the maximum number of headers or
|
267
|
-
# the size, there is a limit on the maximum size of the
|
268
|
-
#
|
274
|
+
# the size, there is a limit on the maximum size of the
|
275
|
+
# {::Google::Cloud::Tasks::V2::Task Task}. For more information, see the
|
276
|
+
# {::Google::Cloud::Tasks::V2::CloudTasks::Client#create_task CreateTask} documentation.
|
269
277
|
# @!attribute [rw] body
|
270
278
|
# @return [::String]
|
271
279
|
# HTTP request body.
|
272
280
|
#
|
273
281
|
# A request body is allowed only if the HTTP method is POST or PUT. It is
|
274
|
-
# an error to set a body on a task with an incompatible
|
282
|
+
# an error to set a body on a task with an incompatible
|
283
|
+
# {::Google::Cloud::Tasks::V2::HttpMethod HttpMethod}.
|
275
284
|
class AppEngineHttpRequest
|
276
285
|
include ::Google::Protobuf::MessageExts
|
277
286
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -315,16 +324,17 @@ module Google
|
|
315
324
|
# service when the task is attempted.
|
316
325
|
#
|
317
326
|
# For some queues or tasks which were created using the App Engine
|
318
|
-
# Task Queue API, {::Google::Cloud::Tasks::V2::AppEngineRouting#host host} is not
|
319
|
-
# into {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
327
|
+
# Task Queue API, {::Google::Cloud::Tasks::V2::AppEngineRouting#host host} is not
|
328
|
+
# parsable into {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
320
329
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#version version}, and
|
321
|
-
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance}. For example,
|
322
|
-
# which were created using the App Engine SDK use a custom domain
|
330
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance}. For example,
|
331
|
+
# some tasks which were created using the App Engine SDK use a custom domain
|
323
332
|
# name; custom domains are not parsed by Cloud Tasks. If
|
324
333
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#host host} is not parsable, then
|
325
334
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
326
335
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#version version}, and
|
327
|
-
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance} are the empty
|
336
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance} are the empty
|
337
|
+
# string.
|
328
338
|
# @!attribute [rw] version
|
329
339
|
# @return [::String]
|
330
340
|
# App version.
|
@@ -333,16 +343,17 @@ module Google
|
|
333
343
|
# version when the task is attempted.
|
334
344
|
#
|
335
345
|
# For some queues or tasks which were created using the App Engine
|
336
|
-
# Task Queue API, {::Google::Cloud::Tasks::V2::AppEngineRouting#host host} is not
|
337
|
-
# into {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
346
|
+
# Task Queue API, {::Google::Cloud::Tasks::V2::AppEngineRouting#host host} is not
|
347
|
+
# parsable into {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
338
348
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#version version}, and
|
339
|
-
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance}. For example,
|
340
|
-
# which were created using the App Engine SDK use a custom domain
|
349
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance}. For example,
|
350
|
+
# some tasks which were created using the App Engine SDK use a custom domain
|
341
351
|
# name; custom domains are not parsed by Cloud Tasks. If
|
342
352
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#host host} is not parsable, then
|
343
353
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
344
354
|
# {::Google::Cloud::Tasks::V2::AppEngineRouting#version version}, and
|
345
|
-
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance} are the empty
|
355
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance} are the empty
|
356
|
+
# string.
|
346
357
|
# @!attribute [rw] instance
|
347
358
|
# @return [::String]
|
348
359
|
# App instance.
|
@@ -364,9 +375,10 @@ module Google
|
|
364
375
|
#
|
365
376
|
# The host is constructed from the domain name of the app associated with
|
366
377
|
# the queue's project ID (for example <app-id>.appspot.com), and the
|
367
|
-
# {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
368
|
-
#
|
369
|
-
#
|
378
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#service service},
|
379
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#version version}, and
|
380
|
+
# {::Google::Cloud::Tasks::V2::AppEngineRouting#instance instance}. Tasks which
|
381
|
+
# were created using the App Engine SDK might have a custom domain name.
|
370
382
|
#
|
371
383
|
# For more information, see
|
372
384
|
# [How Requests are
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
# A unit of scheduled work.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Optionally caller-specified in
|
27
|
+
# Optionally caller-specified in
|
28
|
+
# {::Google::Cloud::Tasks::V2::CloudTasks::Client#create_task CreateTask}.
|
28
29
|
#
|
29
30
|
# The task name.
|
30
31
|
#
|
@@ -48,12 +49,14 @@ module Google
|
|
48
49
|
# @return [::Google::Cloud::Tasks::V2::AppEngineHttpRequest]
|
49
50
|
# HTTP request that is sent to the App Engine app handler.
|
50
51
|
#
|
51
|
-
# An App Engine task is a task that has
|
52
|
+
# An App Engine task is a task that has
|
53
|
+
# {::Google::Cloud::Tasks::V2::AppEngineHttpRequest AppEngineHttpRequest} set.
|
52
54
|
# @!attribute [rw] http_request
|
53
55
|
# @return [::Google::Cloud::Tasks::V2::HttpRequest]
|
54
56
|
# HTTP request that is sent to the worker.
|
55
57
|
#
|
56
|
-
# An HTTP task is a task that has
|
58
|
+
# An HTTP task is a task that has
|
59
|
+
# {::Google::Cloud::Tasks::V2::HttpRequest HttpRequest} set.
|
57
60
|
# @!attribute [rw] schedule_time
|
58
61
|
# @return [::Google::Protobuf::Timestamp]
|
59
62
|
# The time when the task is scheduled to be attempted or retried.
|
@@ -78,10 +81,12 @@ module Google
|
|
78
81
|
#
|
79
82
|
# The default and maximum values depend on the type of request:
|
80
83
|
#
|
81
|
-
# * For {::Google::Cloud::Tasks::V2::HttpRequest HTTP tasks}, the default is 10
|
84
|
+
# * For {::Google::Cloud::Tasks::V2::HttpRequest HTTP tasks}, the default is 10
|
85
|
+
# minutes. The deadline
|
82
86
|
# must be in the interval [15 seconds, 30 minutes].
|
83
87
|
#
|
84
|
-
# * For {::Google::Cloud::Tasks::V2::AppEngineHttpRequest App Engine tasks}, 0
|
88
|
+
# * For {::Google::Cloud::Tasks::V2::AppEngineHttpRequest App Engine tasks}, 0
|
89
|
+
# indicates that the
|
85
90
|
# request has the default deadline. The default deadline depends on the
|
86
91
|
# [scaling
|
87
92
|
# type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
|
@@ -110,15 +115,16 @@ module Google
|
|
110
115
|
# @return [::Google::Cloud::Tasks::V2::Attempt]
|
111
116
|
# Output only. The status of the task's first attempt.
|
112
117
|
#
|
113
|
-
# Only {::Google::Cloud::Tasks::V2::Attempt#dispatch_time dispatch_time} will be
|
114
|
-
# The other {::Google::Cloud::Tasks::V2::Attempt Attempt} information is not
|
118
|
+
# Only {::Google::Cloud::Tasks::V2::Attempt#dispatch_time dispatch_time} will be
|
119
|
+
# set. The other {::Google::Cloud::Tasks::V2::Attempt Attempt} information is not
|
120
|
+
# retained by Cloud Tasks.
|
115
121
|
# @!attribute [rw] last_attempt
|
116
122
|
# @return [::Google::Cloud::Tasks::V2::Attempt]
|
117
123
|
# Output only. The status of the task's last attempt.
|
118
124
|
# @!attribute [rw] view
|
119
125
|
# @return [::Google::Cloud::Tasks::V2::Task::View]
|
120
|
-
# Output only. The view specifies which subset of the
|
121
|
-
# been returned.
|
126
|
+
# Output only. The view specifies which subset of the
|
127
|
+
# {::Google::Cloud::Tasks::V2::Task Task} has been returned.
|
122
128
|
class Task
|
123
129
|
include ::Google::Protobuf::MessageExts
|
124
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -138,7 +144,8 @@ module Google
|
|
138
144
|
# sensitive data.
|
139
145
|
#
|
140
146
|
# This view does not include the
|
141
|
-
#
|
147
|
+
# [body in
|
148
|
+
# AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest.body].
|
142
149
|
# Bodies are desirable to return only when needed, because they
|
143
150
|
# can be large and because of the sensitivity of the data that you
|
144
151
|
# choose to store in it.
|
@@ -35,7 +35,8 @@ module Google
|
|
35
35
|
# only if the expression evaluates to `true`. A condition can add constraints
|
36
36
|
# based on attributes of the request, the resource, or both. To learn which
|
37
37
|
# resources support conditions in their IAM policies, see the
|
38
|
-
# [IAM
|
38
|
+
# [IAM
|
39
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
39
40
|
#
|
40
41
|
# **JSON example:**
|
41
42
|
#
|
@@ -58,7 +59,8 @@ module Google
|
|
58
59
|
# "condition": {
|
59
60
|
# "title": "expirable access",
|
60
61
|
# "description": "Does not grant access after Sep 2020",
|
61
|
-
# "expression": "request.time <
|
62
|
+
# "expression": "request.time <
|
63
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
62
64
|
# }
|
63
65
|
# }
|
64
66
|
# ],
|
@@ -112,7 +114,8 @@ module Google
|
|
112
114
|
# specify any valid version or leave the field unset.
|
113
115
|
#
|
114
116
|
# To learn which resources support conditions in their IAM policies, see the
|
115
|
-
# [IAM
|
117
|
+
# [IAM
|
118
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
116
119
|
# @!attribute [rw] bindings
|
117
120
|
# @return [::Array<::Google::Iam::V1::Binding>]
|
118
121
|
# Associates a list of `members`, or principals, with a `role`. Optionally,
|
@@ -305,7 +308,8 @@ module Google
|
|
305
308
|
# @return [::Array<::String>]
|
306
309
|
# Specifies the identities that do not cause logging for this type of
|
307
310
|
# permission.
|
308
|
-
# Follows the same format of
|
311
|
+
# Follows the same format of
|
312
|
+
# {::Google::Iam::V1::Binding#members Binding.members}.
|
309
313
|
class AuditLogConfig
|
310
314
|
include ::Google::Protobuf::MessageExts
|
311
315
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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:
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.19.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.26.
|
67
|
+
version: 1.26.3
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.26.
|
74
|
+
version: 1.26.3
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,14 +191,20 @@ files:
|
|
191
191
|
- lib/google/cloud/tasks/v2/cloud_tasks/client.rb
|
192
192
|
- lib/google/cloud/tasks/v2/cloud_tasks/credentials.rb
|
193
193
|
- lib/google/cloud/tasks/v2/cloud_tasks/paths.rb
|
194
|
+
- lib/google/cloud/tasks/v2/cloud_tasks/rest.rb
|
195
|
+
- lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb
|
196
|
+
- lib/google/cloud/tasks/v2/cloud_tasks/rest/service_stub.rb
|
194
197
|
- lib/google/cloud/tasks/v2/cloudtasks_pb.rb
|
195
198
|
- lib/google/cloud/tasks/v2/cloudtasks_services_pb.rb
|
196
199
|
- lib/google/cloud/tasks/v2/queue_pb.rb
|
200
|
+
- lib/google/cloud/tasks/v2/rest.rb
|
197
201
|
- lib/google/cloud/tasks/v2/target_pb.rb
|
198
202
|
- lib/google/cloud/tasks/v2/task_pb.rb
|
199
203
|
- lib/google/cloud/tasks/v2/version.rb
|
200
204
|
- proto_docs/README.md
|
205
|
+
- proto_docs/google/api/client.rb
|
201
206
|
- proto_docs/google/api/field_behavior.rb
|
207
|
+
- proto_docs/google/api/launch_stage.rb
|
202
208
|
- proto_docs/google/api/resource.rb
|
203
209
|
- proto_docs/google/cloud/tasks/v2/cloudtasks.rb
|
204
210
|
- proto_docs/google/cloud/tasks/v2/queue.rb
|
@@ -233,8 +239,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
239
|
- !ruby/object:Gem::Version
|
234
240
|
version: '0'
|
235
241
|
requirements: []
|
236
|
-
rubygems_version: 3.
|
242
|
+
rubygems_version: 3.4.2
|
237
243
|
signing_key:
|
238
244
|
specification_version: 4
|
239
|
-
summary:
|
245
|
+
summary: Manages the execution of large numbers of distributed requests.
|
240
246
|
test_files: []
|