diff --git a/api_names_out.yaml b/api_names_out.yaml index ce0b5b249..64b3441d8 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -28289,6 +28289,8 @@ "/cloudtasks:v2beta3/Queue/stackdriverLoggingConfig": stackdriver_logging_config "/cloudtasks:v2beta3/Queue/state": state "/cloudtasks:v2beta3/Queue/stats": stats +"/cloudtasks:v2beta3/Queue/taskTtl": task_ttl +"/cloudtasks:v2beta3/Queue/tombstoneTtl": tombstone_ttl "/cloudtasks:v2beta3/Queue/type": type "/cloudtasks:v2beta3/QueueStats": queue_stats "/cloudtasks:v2beta3/QueueStats/concurrentDispatchesCount": concurrent_dispatches_count diff --git a/generated/google-apis-cloudtasks_v2beta3/CHANGELOG.md b/generated/google-apis-cloudtasks_v2beta3/CHANGELOG.md index 83ad1caa8..fd1d059fc 100644 --- a/generated/google-apis-cloudtasks_v2beta3/CHANGELOG.md +++ b/generated/google-apis-cloudtasks_v2beta3/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-cloudtasks_v2beta3 +### 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_v2beta3/lib/google/apis/cloudtasks_v2beta3/classes.rb b/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/classes.rb index e72a7d1ac..d092dd979 100644 --- a/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/classes.rb +++ b/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/classes.rb @@ -1000,6 +1000,28 @@ module Google # @return [Google::Apis::CloudtasksV2beta3::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 executed, + # 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 + # Immutable. The type of a queue (push or pull). `Queue.type` is an immutable # property of the queue that is set at the queue creation time. When left # unspecified, the default value of `PUSH` is selected. @@ -1021,6 +1043,8 @@ module Google @stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_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) @type = args[:type] if args.key?(:type) end end diff --git a/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/gem_version.rb b/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/gem_version.rb index 62e9f6238..7366ebff7 100644 --- a/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/gem_version.rb +++ b/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CloudtasksV2beta3 # Version of the google-apis-cloudtasks_v2beta3 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_v2beta3/lib/google/apis/cloudtasks_v2beta3/representations.rb b/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/representations.rb index 010b4031b..03954f673 100644 --- a/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/representations.rb +++ b/generated/google-apis-cloudtasks_v2beta3/lib/google/apis/cloudtasks_v2beta3/representations.rb @@ -425,6 +425,8 @@ module Google property :state, as: 'state' property :stats, as: 'stats', class: Google::Apis::CloudtasksV2beta3::QueueStats, decorator: Google::Apis::CloudtasksV2beta3::QueueStats::Representation + property :task_ttl, as: 'taskTtl' + property :tombstone_ttl, as: 'tombstoneTtl' property :type, as: 'type' end end diff --git a/generated/google-apis-cloudtasks_v2beta3/synth.metadata b/generated/google-apis-cloudtasks_v2beta3/synth.metadata index 2dbcf5316..3fe89600a 100644 --- a/generated/google-apis-cloudtasks_v2beta3/synth.metadata +++ b/generated/google-apis-cloudtasks_v2beta3/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "0492accc8a44d0f28a484a67f7940d74246ab88d" + "sha": "cf129fb0465e1f165bd1773a27355c62e6406ccf" } } ]