Cloud Tasks API (cloudtasks:v2beta3)

2023-01-12

1 new method

Additions

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

      Description: Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).

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

      HTTP Method: POST

      Path: v2beta3/{+queue}/tasks/{taskId}:buffer

      Parameter Order:

    • queue
    • taskId
    • Parameters:

        queue

          Type: string

          Location: path

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

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

          Required: Yes

        taskId

          Required: Yes

          Type: string

          Description: Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.

          Location: path

      Flat Path: v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer