Request message for leasing tasks using LeaseTasks.
The maximum number of tasks to lease. The system will make a
best effort to return as close to as max_tasks
as
possible. The largest that max_tasks
can be is 1000. The
maximum total size of a [lease tasks
response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is 32
MB. If the sum of all task sizes requested reaches this limit,
fewer tasks than requested are returned.
The response_view specifies which subset of the
Task will be returned. By
default response_view is
BASIC; not all
information is retrieved by default because some data, such as
payloads, might be desirable to return only when needed
because of its large size or because of the sensitivity of
data that it contains. Authorization for
FULL requires
cloudtasks.tasks.fullView
Google IAM
<https://cloud.google.com/iam/>
_ permission on the
Task resource.