
Security News
eMudhra, Brotli, and the Long Tail of a Security Fix
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.
@google-cloud/tasks
Advanced tools
This library is considered to be stable. The code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against stable libraries are addressed with the highest priority
Cloud Tasks API client for Node.js
A comprehensive list of changes in each version may be found in the CHANGELOG.
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
npm install @google-cloud/tasks
Samples are in the samples/ directory. Each sample's README.md has instructions for running its sample.
| Sample | Source Code |
|---|---|
| create queue | source code |
| create task | source code |
| delete queue | source code |
| delete task | source code |
| get iam policy | source code |
| get queue | source code |
| get task | source code |
| list queues | source code |
| list tasks | source code |
| pause queue | source code |
| purge queue | source code |
| resume queue | source code |
| run task | source code |
| set iam policy | source code |
| test iam permissions | source code |
| update queue | source code |
| acknowledge task | source code |
| cancel lease | source code |
| create queue | source code |
| create task | source code |
| delete queue | source code |
| delete task | source code |
| get iam policy | source code |
| get queue | source code |
| get task | source code |
| lease tasks | source code |
| list queues | source code |
| list tasks | source code |
| pause queue | source code |
| purge queue | source code |
| renew lease | source code |
| resume queue | source code |
| run task | source code |
| set iam policy | source code |
| test iam permissions | source code |
| update queue | source code |
| upload queue yaml | source code |
| create queue | source code |
| create task | source code |
| delete queue | source code |
| delete task | source code |
| get iam policy | source code |
| get queue | source code |
| get task | source code |
| list queues | source code |
| list tasks | source code |
| pause queue | source code |
| purge queue | source code |
| resume queue | source code |
| run task | source code |
| set iam policy | source code |
| test iam permissions | source code |
| update queue | source code |
Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js. If you are using an end-of-life version of Node.js, we recommend that you update as soon as possible to an actively supported LTS version.
Google's client libraries support legacy versions of Node.js runtimes on a best-efforts basis with the following warnings:
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed through npm dist-tags.
The dist-tags follow the naming convention legacy-(version).
For example, npm install @google-cloud/tasks@legacy-8 installs client libraries
for versions compatible with Node.js 8.
This library follows Semantic Versioning.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Please note that this README.md
and a variety of configuration files in this repository (including .nycrc and tsconfig.json)
are generated from a central template.
Apache Version 2.0
See LICENSE
Bull is a Node library that implements a fast and robust queue system based on Redis. It provides features like delayed jobs, rate-limited jobs, and job prioritization. Compared to @google-cloud/tasks, Bull is more focused on in-memory job queues and does not offer direct integration with Google Cloud services.
Agenda is a lightweight job scheduling library for Node.js that uses MongoDB as a persistence layer. It is designed for long-running jobs and provides features like job scheduling, job prioritization, and job concurrency. Unlike @google-cloud/tasks, Agenda is more suitable for applications that already use MongoDB and need a simple job scheduling solution.
Kue is a priority job queue backed by Redis, built for Node.js. It provides features like job events, job retries, and job progress tracking. Kue is similar to Bull but offers a different API and feature set. It does not provide the same level of integration with Google Cloud services as @google-cloud/tasks.
FAQs
Cloud Tasks API client for Node.js
The npm package @google-cloud/tasks receives a total of 469,235 weekly downloads. As such, @google-cloud/tasks popularity was classified as popular.
We found that @google-cloud/tasks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.

Security News
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.