google-cloud-tasks 1.3.5 → 1.4.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/tasks.rb +1 -1
- data/lib/google/cloud/tasks/v2.rb +1 -1
- data/lib/google/cloud/tasks/v2/doc/google/cloud/tasks/v2/queue.rb +15 -0
- data/lib/google/cloud/tasks/v2/queue_pb.rb +5 -0
- data/lib/google/cloud/tasks/v2beta2.rb +1 -1
- data/lib/google/cloud/tasks/v2beta3.rb +1 -1
- data/lib/google/cloud/tasks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0dd09d686124333b16ffe44d6c2eb0eb5d8db010cfcfcd3d970ff6dcfffe21d
|
|
4
|
+
data.tar.gz: 4057cee51cc946bbb8a7518b09c9ff44ce2860fa52e2da4df70ee592cb0754fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9607438fdda4621705ef0bfee26e0838f4f393cee5b2db35662fe3e292af25fe8d2c6fed91a45485374c1d36affa8237f7f44c2a5770e0eb8fd394486b24d2a9
|
|
7
|
+
data.tar.gz: 11ed9939d8fe6602c1d17552bbda0dfa61478a496eb33d910371816628080bba07fdaf4c28d61c8212c857a95098c43c957bbd4c8fe4d26f0ffe95d9421860cd
|
data/README.md
CHANGED
data/lib/google/cloud/tasks.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Google
|
|
|
21
21
|
# rubocop:disable LineLength
|
|
22
22
|
|
|
23
23
|
##
|
|
24
|
-
# # Ruby Client for Cloud Tasks API
|
|
24
|
+
# # Ruby Client for Cloud Tasks API
|
|
25
25
|
#
|
|
26
26
|
# [Cloud Tasks API][Product Documentation]:
|
|
27
27
|
# Manages the execution of large numbers of distributed requests.
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
# rubocop:disable LineLength
|
|
23
23
|
|
|
24
24
|
##
|
|
25
|
-
# # Ruby Client for Cloud Tasks API
|
|
25
|
+
# # Ruby Client for Cloud Tasks API
|
|
26
26
|
#
|
|
27
27
|
# [Cloud Tasks API][Product Documentation]:
|
|
28
28
|
# Manages the execution of large numbers of distributed requests.
|
|
@@ -113,6 +113,11 @@ module Google
|
|
|
113
113
|
#
|
|
114
114
|
# Purge time will be truncated to the nearest microsecond. Purge
|
|
115
115
|
# time will be unset if the queue has never been purged.
|
|
116
|
+
# @!attribute [rw] stackdriver_logging_config
|
|
117
|
+
# @return [Google::Cloud::Tasks::V2::StackdriverLoggingConfig]
|
|
118
|
+
# Configuration options for writing logs to
|
|
119
|
+
# [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
|
|
120
|
+
# field is unset, then no logs are written.
|
|
116
121
|
class Queue
|
|
117
122
|
# State of the queue.
|
|
118
123
|
module State
|
|
@@ -327,6 +332,16 @@ module Google
|
|
|
327
332
|
# [max_doublings in
|
|
328
333
|
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
329
334
|
class RetryConfig; end
|
|
335
|
+
|
|
336
|
+
# Configuration options for writing logs to
|
|
337
|
+
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
|
338
|
+
# @!attribute [rw] sampling_ratio
|
|
339
|
+
# @return [Float]
|
|
340
|
+
# Specifies the fraction of operations to write to
|
|
341
|
+
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
|
342
|
+
# This field may contain any value between 0.0 and 1.0, inclusive.
|
|
343
|
+
# 0.0 is the default and means that no operations are logged.
|
|
344
|
+
class StackdriverLoggingConfig; end
|
|
330
345
|
end
|
|
331
346
|
end
|
|
332
347
|
end
|
|
@@ -16,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
16
16
|
optional :retry_config, :message, 4, "google.cloud.tasks.v2.RetryConfig"
|
|
17
17
|
optional :state, :enum, 5, "google.cloud.tasks.v2.Queue.State"
|
|
18
18
|
optional :purge_time, :message, 6, "google.protobuf.Timestamp"
|
|
19
|
+
optional :stackdriver_logging_config, :message, 9, "google.cloud.tasks.v2.StackdriverLoggingConfig"
|
|
19
20
|
end
|
|
20
21
|
add_enum "google.cloud.tasks.v2.Queue.State" do
|
|
21
22
|
value :STATE_UNSPECIFIED, 0
|
|
@@ -35,6 +36,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
35
36
|
optional :max_backoff, :message, 4, "google.protobuf.Duration"
|
|
36
37
|
optional :max_doublings, :int32, 5
|
|
37
38
|
end
|
|
39
|
+
add_message "google.cloud.tasks.v2.StackdriverLoggingConfig" do
|
|
40
|
+
optional :sampling_ratio, :double, 1
|
|
41
|
+
end
|
|
38
42
|
end
|
|
39
43
|
|
|
40
44
|
module Google
|
|
@@ -45,6 +49,7 @@ module Google
|
|
|
45
49
|
Queue::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.Queue.State").enummodule
|
|
46
50
|
RateLimits = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.RateLimits").msgclass
|
|
47
51
|
RetryConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.RetryConfig").msgclass
|
|
52
|
+
StackdriverLoggingConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.StackdriverLoggingConfig").msgclass
|
|
48
53
|
end
|
|
49
54
|
end
|
|
50
55
|
end
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
# rubocop:disable LineLength
|
|
23
23
|
|
|
24
24
|
##
|
|
25
|
-
# # Ruby Client for Cloud Tasks API
|
|
25
|
+
# # Ruby Client for Cloud Tasks API
|
|
26
26
|
#
|
|
27
27
|
# [Cloud Tasks API][Product Documentation]:
|
|
28
28
|
# Manages the execution of large numbers of distributed requests.
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
# rubocop:disable LineLength
|
|
23
23
|
|
|
24
24
|
##
|
|
25
|
-
# # Ruby Client for Cloud Tasks API
|
|
25
|
+
# # Ruby Client for Cloud Tasks API
|
|
26
26
|
#
|
|
27
27
|
# [Cloud Tasks API][Product Documentation]:
|
|
28
28
|
# Manages the execution of large numbers of distributed requests.
|
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: 1.
|
|
4
|
+
version: 1.4.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-02-
|
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|