- [JSON representation](https://docs.cloud.google.com/gemini/data-agents/reference/rest/Shared.Types/TaskStatus.md.txt#SCHEMA_REPRESENTATION)

A container for the status of a task

| JSON representation |
|---|
| ``` { "state": enum (`TaskState`), "message": { object (`Message`) }, "timestamp": string } ``` |

| Fields ||
|---|---|
| `state` | ``enum (`TaskState`)`` The current state of this task |
| `message` | ``object (`Message`)`` A message associated with the status. |
| `timestamp` | ``string (`Timestamp` format)`` Timestamp when the status was recorded. Example: "2023-10-27T10:00:00Z" Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |