Cloud Tasks API (cloudtasks:v2)

2026-09-26

2 new methods

Additions

    Methods
  • ▼ ▲ cloudtasks.projects.locations.queues.tasks.batchDelete

      Parameter Order : parent

      Path : v2/{+parent}/tasks:batchDelete

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The queue name. For example: Format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`

          Type : string

          Location : path

          Pattern : ^projects/[^/]+/locations/[^/]+/queues/[^/]+$

          Required : Yes

      Description : Deletes a batch of tasks. This is a non-atomic operation: if deletion fails for some tasks, it can still succeed for others. The metadata field of google.longrunning.Operation contains details of failed deletions. A maximum of 1000 tasks can be deleted in a batch.

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks:batchDelete

  • ▼ ▲ cloudtasks.projects.locations.queues.tasks.batchCreate

      Parameter Order : parent

      Description : Creates a batch of tasks and adds them to a queue. All tasks must be for the same queue. A maximum of 100 tasks can be created in a single batch.

      HTTP Method : POST

      Path : v2/{+parent}/tasks:batchCreate

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks:batchCreate

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameters :

        parent

          Pattern : ^projects/[^/]+/locations/[^/]+/queues/[^/]+$

          Description : Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.

          Required : Yes

          Location : path

          Type : string