- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates a task and adds it to a queue.
Tasks cannot be updated after creation; there is no UpdateTask command.
- The maximum task size is 100KB.
The URL uses gRPC Transcoding syntax.
Required. The queue name. For example:
The queue must already exist.
Authorization requires the following IAM permission on the specified resource
The request body contains data with the following structure:
Required. The task to add.
Task names have the following format:
Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with
Because there is an extra lookup cost to identify duplicate task names, these
The responseView specifies which subset of the
By default responseView is
If successful, the response body contains a newly created instance of
Requires one of the following OAuth scopes:
For more information, see the Authentication Overview.