generated/google/apis/cloudtasks_v2beta2/classes.rb in google-api-client-0.30.2 vs generated/google/apis/cloudtasks_v2beta2/classes.rb in google-api-client-0.30.3
- old
+ new
@@ -666,9 +666,17 @@
# tag will be displayed as empty in Cloud Tasks.
# Corresponds to the JSON property `filter`
# @return [String]
attr_accessor :filter
+ # Required.
+ # The duration of the lease.
+ # Each task returned in the response will
+ # have its schedule_time set to the current
+ # time plus the `lease_duration`. The task is leased until its
+ # schedule_time; thus, the task will not be
+ # returned to another LeaseTasks call
+ # before its schedule_time.
# After the worker has successfully finished the work associated
# with the task, the worker must call via
# AcknowledgeTask before the
# schedule_time. Otherwise the task will be
# returned to a later LeaseTasks call so