google-cloud-tasks-v2beta3 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53d835c6402ab6f7a1f66dcd3ee0fa41b667fd0b8af00736941e5a1222e360fd
4
- data.tar.gz: d408280a015209de68712750fe5efc5bcc571a8c4d36db56bdf1a946d92bf358
3
+ metadata.gz: 612e8851a66ad8f184ce029e07b0be5fff55afaccf58400a47482eb6992a1e48
4
+ data.tar.gz: 4f378ff8d31bcbcb9383ac4a0f822476a7d3b922c8a7582dfc97f82c4188e740
5
5
  SHA512:
6
- metadata.gz: 35b96fdd31bfd516dc591ab8b991a8376c0416e046421453ba68f7fe77c27785e64c81d391754a2a96d0c2463491ad9da1fe5c759bd9e40238f71fa858d2a8d1
7
- data.tar.gz: '08445bdadd25eacbd44154b5cf62a696a797610fc73b9c594dc47304dd68870e47f6464b2f0e28b61b2a1dd959977582539f93a462460c3e8279b24dbb7e8c3c'
6
+ metadata.gz: 284bc82418e0d51dcfa9bad01683c4494416ce50153a3d007f505f3612dfe1bcc658aa433001d84b41735558def958026c8b998108824ed04a51bd293873a8da
7
+ data.tar.gz: d8bea38af1f5b5fab40c30b3d744fd5eb24ddbdf570c04cc45643ee38769653d88e53112759ab32c2d50249e3e7b0e3f8ea4e9d71722446c9717a16fd1c1a4d9
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/cloud/tasks/v2beta3/cloudtasks.proto for package 'google.cloud.tasks.v2beta3'
3
3
  # Original file comments:
4
- # Copyright 2019 Google LLC.
4
+ # Copyright 2020 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
- #
19
18
 
20
19
  require 'grpc'
21
20
  require 'google/cloud/tasks/v2beta3/cloudtasks_pb'
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/field_behavior_pb'
6
7
  require 'google/api/resource_pb'
7
8
  require 'google/cloud/tasks/v2beta3/target_pb'
8
9
  require 'google/protobuf/duration_pb'
@@ -17,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  optional :state, :enum, 6, "google.cloud.tasks.v2beta3.Queue.State"
18
19
  optional :purge_time, :message, 7, "google.protobuf.Timestamp"
19
20
  optional :stackdriver_logging_config, :message, 10, "google.cloud.tasks.v2beta3.StackdriverLoggingConfig"
21
+ optional :type, :enum, 11, "google.cloud.tasks.v2beta3.Queue.Type"
20
22
  oneof :queue_type do
21
23
  optional :app_engine_http_queue, :message, 3, "google.cloud.tasks.v2beta3.AppEngineHttpQueue"
22
24
  end
@@ -27,6 +29,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
27
29
  value :PAUSED, 2
28
30
  value :DISABLED, 3
29
31
  end
32
+ add_enum "google.cloud.tasks.v2beta3.Queue.Type" do
33
+ value :TYPE_UNSPECIFIED, 0
34
+ value :PULL, 1
35
+ value :PUSH, 2
36
+ end
30
37
  add_message "google.cloud.tasks.v2beta3.RateLimits" do
31
38
  optional :max_dispatches_per_second, :double, 1
32
39
  optional :max_burst_size, :int32, 2
@@ -51,6 +58,7 @@ module Google
51
58
  module V2beta3
52
59
  Queue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.Queue").msgclass
53
60
  Queue::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.Queue.State").enummodule
61
+ Queue::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.Queue.Type").enummodule
54
62
  RateLimits = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.RateLimits").msgclass
55
63
  RetryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.RetryConfig").msgclass
56
64
  StackdriverLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.StackdriverLoggingConfig").msgclass
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta3
24
- VERSION = "0.2.3"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -115,6 +115,13 @@ module Google
115
115
  # Configuration options for writing logs to
116
116
  # [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
117
117
  # field is unset, then no logs are written.
118
+ # @!attribute [rw] type
119
+ # @return [::Google::Cloud::Tasks::V2beta3::Queue::Type]
120
+ # Immutable. The type of a queue (push or pull).
121
+ #
122
+ # `Queue.type` is an immutable property of the queue that is set at the queue
123
+ # creation time. When left unspecified, the default value of `PUSH` is
124
+ # selected.
118
125
  class Queue
119
126
  include ::Google::Protobuf::MessageExts
120
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -155,6 +162,18 @@ module Google
155
162
  # {::Google::Cloud::Tasks::V2beta3::CloudTasks::Client#delete_queue DeleteQueue}.
156
163
  DISABLED = 3
157
164
  end
165
+
166
+ # The type of the queue.
167
+ module Type
168
+ # Default value.
169
+ TYPE_UNSPECIFIED = 0
170
+
171
+ # A pull queue.
172
+ PULL = 1
173
+
174
+ # A push queue.
175
+ PUSH = 2
176
+ end
158
177
  end
159
178
 
160
179
  # Rate limits.
@@ -314,7 +333,7 @@ module Google
314
333
  # A task's retry interval starts at
315
334
  # {::Google::Cloud::Tasks::V2beta3::RetryConfig#min_backoff min_backoff}, then doubles
316
335
  # `max_doublings` times, then increases linearly, and finally
317
- # retries retries at intervals of
336
+ # retries at intervals of
318
337
  # {::Google::Cloud::Tasks::V2beta3::RetryConfig#max_backoff max_backoff} up to
319
338
  # {::Google::Cloud::Tasks::V2beta3::RetryConfig#max_attempts max_attempts} times.
320
339
  #
@@ -188,10 +188,10 @@ module Google
188
188
  # delivered to can be set at the queue-level or task-level:
189
189
  #
190
190
  # * If set,
191
- # {::Google::Cloud::Tasks::V2beta3::AppEngineHttpQueue#app_engine_routing_override app_engine_routing_override}
192
- # is used for all tasks in the queue, no matter what the setting
193
- # is for the
194
- # {::Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#app_engine_routing task-level app_engine_routing}.
191
+ # {::Google::Cloud::Tasks::V2beta3::AppEngineHttpQueue#app_engine_routing_override app_engine_routing_override}
192
+ # is used for all tasks in the queue, no matter what the setting
193
+ # is for the
194
+ # {::Google::Cloud::Tasks::V2beta3::AppEngineHttpRequest#app_engine_routing task-level app_engine_routing}.
195
195
  #
196
196
  #
197
197
  # The `url` that the task will be sent to is:
@@ -225,14 +225,11 @@ module Google
225
225
  # The HTTP method to use for the request. The default is POST.
226
226
  #
227
227
  # The app's request handler for the task's target URL must be able to handle
228
- # HTTP requests with this http_method, otherwise the task attempt will fail
229
- # with error code 405 (Method Not Allowed). See
230
- # [Writing a push task request
228
+ # HTTP requests with this http_method, otherwise the task attempt fails with
229
+ # error code 405 (Method Not Allowed). See [Writing a push task request
231
230
  # handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
232
- # and the documentation for the request handlers in the language your app is
233
- # written in e.g.
234
- # [Python Request
235
- # Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
231
+ # and the App Engine documentation for your runtime on [How Requests are
232
+ # Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
236
233
  # @!attribute [rw] app_engine_routing
237
234
  # @return [::Google::Cloud::Tasks::V2beta3::AppEngineRouting]
238
235
  # Task-level setting for App Engine routing.
@@ -73,8 +73,8 @@ module Google
73
73
  # is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
74
74
  # task according to the {::Google::Cloud::Tasks::V2beta3::RetryConfig RetryConfig}.
75
75
  #
76
- # Note that when the request is cancelled, Cloud Tasks will stop listing for
77
- # the response, but whether the worker stops processing depends on the
76
+ # Note that when the request is cancelled, Cloud Tasks will stop listening
77
+ # for the response, but whether the worker stops processing depends on the
78
78
  # worker. For example, if the worker is stuck, it may not react to cancelled
79
79
  # requests.
80
80
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-tasks-v2beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.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: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement