google-cloud-tasks 1.3.5 → 1.4.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: 1e0ebd01db6c044eaed0aedd6d540e5f19fde0cb149e1234c9e674902b91302a
4
- data.tar.gz: 10e77574526c919d1c95279e372b9c5e7128156aee4bcd7b98a08449cd1732e3
3
+ metadata.gz: f0dd09d686124333b16ffe44d6c2eb0eb5d8db010cfcfcd3d970ff6dcfffe21d
4
+ data.tar.gz: 4057cee51cc946bbb8a7518b09c9ff44ce2860fa52e2da4df70ee592cb0754fb
5
5
  SHA512:
6
- metadata.gz: ae6c57f03d9e040bae2bf2cd87a30fc6b63cc679f5741ad5a84a4efd40936a2b9da18fa042837fa9101d3e72e0b2b801809d23dc70407db2780a4ad8255fff40
7
- data.tar.gz: 9299e9a45fbb47c56ac7b27fc5227559ef6a671ed0ca269fb1d2c24e45a76571f496bf7539c4a234ad055298a5f90fc059eed29a63a3a509d4244c4b6a2a2fc9
6
+ metadata.gz: 9607438fdda4621705ef0bfee26e0838f4f393cee5b2db35662fe3e292af25fe8d2c6fed91a45485374c1d36affa8237f7f44c2a5770e0eb8fd394486b24d2a9
7
+ data.tar.gz: 11ed9939d8fe6602c1d17552bbda0dfa61478a496eb33d910371816628080bba07fdaf4c28d61c8212c857a95098c43c957bbd4c8fe4d26f0ffe95d9421860cd
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Cloud Tasks API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for Cloud Tasks API
2
2
 
3
3
  [Cloud Tasks API][Product Documentation]:
4
4
  Manages the execution of large numbers of distributed requests.
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Tasks API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Tasks
19
- VERSION = "1.3.5".freeze
19
+ VERSION = "1.4.0".freeze
20
20
  end
21
21
  end
22
22
  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: 1.3.5
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-06 00:00:00.000000000 Z
11
+ date: 2020-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax