diff --git a/api_names_out.yaml b/api_names_out.yaml index 428552af1..ce0b5b249 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -28072,7 +28072,9 @@ "/cloudtasks:v2beta2/Queue/retryConfig": retry_config "/cloudtasks:v2beta2/Queue/state": state "/cloudtasks:v2beta2/Queue/stats": stats +"/cloudtasks:v2beta2/Queue/taskTtl": task_ttl "/cloudtasks:v2beta2/Queue/throttleConfig": throttle_config +"/cloudtasks:v2beta2/Queue/tombstoneTtl": tombstone_ttl "/cloudtasks:v2beta2/QueueStats": queue_stats "/cloudtasks:v2beta2/QueueStats/concurrentDispatchesCount": concurrent_dispatches_count "/cloudtasks:v2beta2/QueueStats/effectiveExecutionRate": effective_execution_rate diff --git a/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md b/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md index 59889a5f1..f581b565d 100644 --- a/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md +++ b/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-cloudtasks_v2beta2 +### v0.2.0 (2021-01-12) + +* Regenerated from discovery document revision 20210105 + ### v0.1.0 (2021-01-07) * Regenerated using generator version 0.1.1 diff --git a/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/classes.rb b/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/classes.rb index bae3978ce..7633e6bd4 100644 --- a/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/classes.rb @@ -1018,6 +1018,28 @@ module Google # @return [Google::Apis::CloudtasksV2beta2::QueueStats] attr_accessor :stats + # The maximum amount of time that a task will be retained in this queue. Queues + # created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has + # lived for `task_ttl`, the task will be deleted regardless of whether it was + # dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is + # equal to the maximum duration because there is a [storage quota](https://cloud. + # google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum + # valid duration, see the documentation for Duration. + # Corresponds to the JSON property `taskTtl` + # @return [String] + attr_accessor :task_ttl + + # The task tombstone time to live (TTL). After a task is deleted or completed, + # the task's tombstone is retained for the length of time specified by ` + # tombstone_ttl`. The tombstone is used by task de-duplication; another task + # with the same name can't be created until the tombstone has expired. For more + # information about task de-duplication, see the documentation for + # CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` + # of 1 hour. + # Corresponds to the JSON property `tombstoneTtl` + # @return [String] + attr_accessor :tombstone_ttl + def initialize(**args) update!(**args) end @@ -1032,6 +1054,8 @@ module Google @retry_config = args[:retry_config] if args.key?(:retry_config) @state = args[:state] if args.key?(:state) @stats = args[:stats] if args.key?(:stats) + @task_ttl = args[:task_ttl] if args.key?(:task_ttl) + @tombstone_ttl = args[:tombstone_ttl] if args.key?(:tombstone_ttl) end end diff --git a/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/gem_version.rb b/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/gem_version.rb index 242c357d1..075a979cc 100644 --- a/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/gem_version.rb +++ b/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CloudtasksV2beta2 # Version of the google-apis-cloudtasks_v2beta2 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20201202" + REVISION = "20210105" end end end diff --git a/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/representations.rb index 8d17e60f0..c5de8da09 100644 --- a/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/representations.rb +++ b/generated/google-apis-cloudtasks_v2beta2/lib/google/apis/cloudtasks_v2beta2/representations.rb @@ -452,6 +452,8 @@ module Google property :state, as: 'state' property :stats, as: 'stats', class: Google::Apis::CloudtasksV2beta2::QueueStats, decorator: Google::Apis::CloudtasksV2beta2::QueueStats::Representation + property :task_ttl, as: 'taskTtl' + property :tombstone_ttl, as: 'tombstoneTtl' end end diff --git a/generated/google-apis-cloudtasks_v2beta2/synth.metadata b/generated/google-apis-cloudtasks_v2beta2/synth.metadata index 2dbcf5316..3fe89600a 100644 --- a/generated/google-apis-cloudtasks_v2beta2/synth.metadata +++ b/generated/google-apis-cloudtasks_v2beta2/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "0492accc8a44d0f28a484a67f7940d74246ab88d" + "sha": "cf129fb0465e1f165bd1773a27355c62e6406ccf" } } ]