Class Task (1.4.0)

A unit of scheduled work.

Required. The message to send to the worker.

HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set.

Output only. The time that the task was created. create_time will be truncated to the nearest second.

Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.

Output only. The status of the task's first attempt. Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set. The other Attempt information is not retained by Cloud Tasks.

Output only. The view specifies which subset of the Task has been returned.