google-apis-cloudtasks_v2beta2 0.1.0 → 0.2.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: 38b3bf0b3db0c5043dbb77452e4d0f599aa907292108e6020a78e92cc343a4ac
4
- data.tar.gz: 5a06b44a978e7c8c6bfefa890c9782a563e729b42192e9b1c76034141f579015
3
+ metadata.gz: e7e15b186ca9ae4a986f1f6beb609576e2788fe0a2d16d65235a3db10380d809
4
+ data.tar.gz: f32939143184bd24bfef0d0710174483f953d10cd643c96725d1fa5f2ed144a0
5
5
  SHA512:
6
- metadata.gz: a406d90dc91a3c2c77a4e7812f80e3a90e775daebec8189f860dc76b3bbcbba95be87984b8825c27097766e73d186c7dac8ee1d070b1f11de515587d742126da
7
- data.tar.gz: a13aad7fc34e5865bdad175527a0a06c52cb5df1f4875126392468dd4ed1f5be8f93d5ec4d3edee408d2744ee5a7f12eb55c3559c56f3a8eb837cac282973aa3
6
+ metadata.gz: 7ca51e8b2272d6589e91b011c2477e3ce28121baac14caa3467696bd851b892bba443d2ba6dd223c4a882b2b1edb6fb87a3c659d6ce7ef3764050b415755a23e
7
+ data.tar.gz: f31177bc4b6b0ae9bcce3b78b9bdfb39121bc73859866f0de259a35ed2d39f3b4bc5e8dd278fe29e2bdc2c0e4a5bdb47cd8bb590ac0dfec101621f99553f711f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudtasks_v2beta2
2
2
 
3
+ ### v0.2.0 (2021-02-04)
4
+
5
+ * Regenerated from discovery document revision 20210129
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -1018,6 +1018,28 @@ module Google
1018
1018
  # @return [Google::Apis::CloudtasksV2beta2::QueueStats]
1019
1019
  attr_accessor :stats
1020
1020
 
1021
+ # The maximum amount of time that a task will be retained in this queue. Queues
1022
+ # created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has
1023
+ # lived for `task_ttl`, the task will be deleted regardless of whether it was
1024
+ # dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is
1025
+ # equal to the maximum duration because there is a [storage quota](https://cloud.
1026
+ # google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum
1027
+ # valid duration, see the documentation for Duration.
1028
+ # Corresponds to the JSON property `taskTtl`
1029
+ # @return [String]
1030
+ attr_accessor :task_ttl
1031
+
1032
+ # The task tombstone time to live (TTL). After a task is deleted or completed,
1033
+ # the task's tombstone is retained for the length of time specified by `
1034
+ # tombstone_ttl`. The tombstone is used by task de-duplication; another task
1035
+ # with the same name can't be created until the tombstone has expired. For more
1036
+ # information about task de-duplication, see the documentation for
1037
+ # CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl`
1038
+ # of 1 hour.
1039
+ # Corresponds to the JSON property `tombstoneTtl`
1040
+ # @return [String]
1041
+ attr_accessor :tombstone_ttl
1042
+
1021
1043
  def initialize(**args)
1022
1044
  update!(**args)
1023
1045
  end
@@ -1032,6 +1054,8 @@ module Google
1032
1054
  @retry_config = args[:retry_config] if args.key?(:retry_config)
1033
1055
  @state = args[:state] if args.key?(:state)
1034
1056
  @stats = args[:stats] if args.key?(:stats)
1057
+ @task_ttl = args[:task_ttl] if args.key?(:task_ttl)
1058
+ @tombstone_ttl = args[:tombstone_ttl] if args.key?(:tombstone_ttl)
1035
1059
  end
1036
1060
  end
1037
1061
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudtasksV2beta2
18
18
  # Version of the google-apis-cloudtasks_v2beta2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201202"
25
+ REVISION = "20210129"
26
26
  end
27
27
  end
28
28
  end
@@ -452,6 +452,8 @@ module Google
452
452
  property :state, as: 'state'
453
453
  property :stats, as: 'stats', class: Google::Apis::CloudtasksV2beta2::QueueStats, decorator: Google::Apis::CloudtasksV2beta2::QueueStats::Representation
454
454
 
455
+ property :task_ttl, as: 'taskTtl'
456
+ property :tombstone_ttl, as: 'tombstoneTtl'
455
457
  end
456
458
  end
457
459
 
@@ -202,9 +202,8 @@ module Google
202
202
  # @param [String] read_mask
203
203
  # Optional. Read mask is used for a more granular control over what the API
204
204
  # returns. If the mask is not present all fields will be returned except [Queue.
205
- # stats], if the mask is set to "*" all fields including [Queue.stats] will be
206
- # returned, otherwise only the fields explicitly specified in the mask will be
207
- # returned.
205
+ # stats]. [Queue.stats] will be returned only if it was explicitly specified in
206
+ # the mask.
208
207
  # @param [String] fields
209
208
  # Selector specifying which fields to include in a partial response.
210
209
  # @param [String] quota_user
@@ -295,9 +294,8 @@ module Google
295
294
  # @param [String] read_mask
296
295
  # Optional. Read mask is used for a more granular control over what the API
297
296
  # returns. If the mask is not present all fields will be returned except [Queue.
298
- # stats], if the mask is set to "*" all fields including [Queue.stats] will be
299
- # returned, otherwise only the fields explicitly specified in the mask will be
300
- # returned.
297
+ # stats]. [Queue.stats] will be returned only if it was explicitly specified in
298
+ # the mask.
301
299
  # @param [String] fields
302
300
  # Selector specifying which fields to include in a partial response.
303
301
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudtasks_v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudtasks_v2beta2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Tasks API V2beta2