Cloud Tasks API

Manages the execution of large numbers of distributed requests.

Service: cloudtasks.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://cloudtasks.googleapis.com

REST Resource: v2beta3.projects.locations

Methods
get GET /v2beta3/{name=projects/*/locations/*}
Gets information about a location.
list GET /v2beta3/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v2beta3.projects.locations.queues

Methods
create POST /v2beta3/{parent=projects/*/locations/*}/queues
Creates a queue.
delete DELETE /v2beta3/{name=projects/*/locations/*/queues/*}
Deletes a queue.
get GET /v2beta3/{name=projects/*/locations/*/queues/*}
Gets a queue.
getIamPolicy POST /v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy
Gets the access control policy for a Queue.
list GET /v2beta3/{parent=projects/*/locations/*}/queues
Lists queues.
patch PATCH /v2beta3/{queue.name=projects/*/locations/*/queues/*}
Updates a queue.
pause POST /v2beta3/{name=projects/*/locations/*/queues/*}:pause
Pauses the queue.
purge POST /v2beta3/{name=projects/*/locations/*/queues/*}:purge
Purges a queue by deleting all of its tasks.
resume POST /v2beta3/{name=projects/*/locations/*/queues/*}:resume
Resume a queue.
setIamPolicy POST /v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy
Sets the access control policy for a Queue.
testIamPermissions POST /v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions
Returns permissions that a caller has on a Queue.

REST Resource: v2beta3.projects.locations.queues.tasks

Methods
create POST /v2beta3/{parent=projects/*/locations/*/queues/*}/tasks
Creates a task and adds it to a queue.
delete DELETE /v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}
Deletes a task.
get GET /v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}
Gets a task.
list GET /v2beta3/{parent=projects/*/locations/*/queues/*}/tasks
Lists the tasks in a queue.
run POST /v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run
Forces a task to run now.

Service: cloudtasks.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://cloudtasks.googleapis.com

REST Resource: v2.projects.locations

Methods
get GET /v2/{name=projects/*/locations/*}
Gets information about a location.
list GET /v2/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v2.projects.locations.queues

Methods
create POST /v2/{parent=projects/*/locations/*}/queues
Creates a queue.
delete DELETE /v2/{name=projects/*/locations/*/queues/*}
Deletes a queue.
get GET /v2/{name=projects/*/locations/*/queues/*}
Gets a queue.
getIamPolicy POST /v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy
Gets the access control policy for a Queue.
list GET /v2/{parent=projects/*/locations/*}/queues
Lists queues.
patch PATCH /v2/{queue.name=projects/*/locations/*/queues/*}
Updates a queue.
pause POST /v2/{name=projects/*/locations/*/queues/*}:pause
Pauses the queue.
purge POST /v2/{name=projects/*/locations/*/queues/*}:purge
Purges a queue by deleting all of its tasks.
resume POST /v2/{name=projects/*/locations/*/queues/*}:resume
Resume a queue.
setIamPolicy POST /v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy
Sets the access control policy for a Queue.
testIamPermissions POST /v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions
Returns permissions that a caller has on a Queue.

REST Resource: v2.projects.locations.queues.tasks

Methods
create POST /v2/{parent=projects/*/locations/*/queues/*}/tasks
Creates a task and adds it to a queue.
delete DELETE /v2/{name=projects/*/locations/*/queues/*/tasks/*}
Deletes a task.
get GET /v2/{name=projects/*/locations/*/queues/*/tasks/*}
Gets a task.
list GET /v2/{parent=projects/*/locations/*/queues/*}/tasks
Lists the tasks in a queue.
run POST /v2/{name=projects/*/locations/*/queues/*/tasks/*}:run
Forces a task to run now.
¿Te ha resultado útil esta página? Enviar comentarios:

Enviar comentarios sobre...

Cloud Tasks Documentation