# Class TaskStatus (2.23.0)

2.23.0 (latest) 2.22.0 2.21.0 2.20.0 2.19.3 2.18.0 2.17.1 2.16.5 2.15.1 2.14.2 2.13.2 2.12.1 2.11.0 2.10.4 2.9.1 2.8.1 2.7.2 2.6.0 2.5.3 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.5.2 1.4.0 1.3.0 1.2.1

    TaskStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Status of the task.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `attempt_dispatch_count` | `int` Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. |
| `attempt_response_count` | `int` Output only. The number of attempts which have received a response. This field is not calculated for \[pull tasks\]\[google.cloud.tasks.v2beta2.PullMessage\]. |
| `first_attempt_status` | `https://docs.cloud.google.com/python/docs/reference/cloudtasks/latest/google.cloud.tasks_v2beta2.types.AttemptStatus` Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated for \[pull tasks\]\[google.cloud.tasks.v2beta2.PullMessage\]. |
| `last_attempt_status` | `https://docs.cloud.google.com/python/docs/reference/cloudtasks/latest/google.cloud.tasks_v2beta2.types.AttemptStatus` Output only. The status of the task's last attempt. This field is not calculated for \[pull tasks\]\[google.cloud.tasks.v2beta2.PullMessage\]. |