Cloud Tasks API (cloudtasks:v2beta2)

2026-07-21

3 new methods

Additions

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

      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.

      HTTP Method : POST

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

      Parameters :

        parent

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

          Location : path

          Required : Yes

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

          Type : string

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

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

      Parameter Order : parent

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

      Parameter Order : parent

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

      HTTP Method : POST

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

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

      Parameters :

        parent

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

          Location : path

          Required : Yes

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

          Type : string

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

  • cloudtasks.projects.locations.operations.get

      Flat Path : v2beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      Parameter Order : name

      Description : Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      HTTP Method : GET

      Path : v2beta2/{+name}

      Parameters :

        name

          Description : The name of the operation resource.

          Type : string

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

          Location : path

          Required : Yes

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