Retrieve an async task
Returns the current status of a background task. The task_id is the one returned by whichever operation started the work, such as deleting a batch.
Polling needs a token with Projects read or write permission.
On a batch delete, args, result and error_message are returned only to the person who started the delete and to account admins. Anyone else polling the task, including a token with no person behind it, sees its state and progress without them.
Authorizations
Path Parameters
Task friendly ID (e.g. task_AbCd1234567890Ef).
Response
200
The internal class name of the task. It identifies the kind of work and is stable, but it is not a value to build logic on.
initialized, running, completed, failed 0 <= x <= 100Set when state is failed.