Gcp/cloudtasks
@swamp/gcp/cloudtasksv2026.05.31.1
01README
Google Cloud cloudtasks infrastructure models
02Release Notes
- Updated: queues
03Models
@swamp/gcp/cloudtasks/locationsv2026.05.26.1locations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
fn sync()
Sync locations state from GCP
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
| Argument | Type | Description |
|---|---|---|
| extraLocationTypes? | string | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter? | string | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). |
| pageSize? | number | The maximum number of results to return. If not set, the service selects a default. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_cmek_config()
get cmek config
fn update_cmek_config(kmsKey?: any, name?: any)
update cmek config
| Argument | Type | Description |
|---|---|---|
| kmsKey? | any | |
| name? | any |
Resources
state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/cloudtasks/queuesv2026.05.31.1queues.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| appEngineRoutingOverride? | object | App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/ho |
| httpTarget? | object | HTTP target. When specified as a Queue, all the tasks with [HttpRequest] will be overridden according to the target. |
| rateLimits? | object | Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits. |
| retryConfig? | object | Retry config. These settings determine when a failed task attempt is retried. |
| stackdriverLoggingConfig? | object | Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create(waitForReady?: boolean)
Create a queues
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a queues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the queues |
fn update(waitForReady?: boolean)
Update queues attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
fn delete(identifier: string)
Delete the queues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the queues |
fn sync()
Sync queues state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List queues resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | `filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as described in [Stackdriver\ |
| pageSize? | number | Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use the next_page_token in the response to determine if more queues exist. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy(options?: any)
get iam policy
| Argument | Type | Description |
|---|---|---|
| options? | any |
fn pause()
pause
fn purge()
purge
fn resume()
resume
fn set_iam_policy(policy?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— A queue is a container of related tasks. Queues are configured to manage how ...
@swamp/gcp/cloudtasks/queues-tasksv2026.05.25.1queues_tasks.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| responseView? | enum | The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. |
| task? | object | A unit of scheduled work. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a tasks
fn get(identifier: string)
Get a tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn delete(identifier: string)
Delete the tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn sync()
Sync tasks state from GCP
fn list(pageSize?: number, responseView?: string, maxPages?: number)
List tasks resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page size is 1000. If unspecified, the page size will be the maximum. |
| responseView? | string | The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn buffer(body?: any)
buffer
| Argument | Type | Description |
|---|---|---|
| body? | any |
fn run(responseView?: any)
run
| Argument | Type | Description |
|---|---|---|
| responseView? | any |
Resources
state(infinite)— A unit of scheduled work.
04Previous Versions
2026.05.26.1May 26, 2026
- Updated: locations
2026.05.25.1May 25, 2026
- Updated: locations, queues, queues_tasks
Modified 3 models
2026.05.24.1May 24, 2026
- Updated: locations, queues, queues_tasks
2026.05.21.2May 21, 2026
- Updated: locations, queues, queues_tasks
2026.05.21.1May 21, 2026
Modified 1 models
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.1May 18, 2026
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
- Updated: queues_tasks
2026.04.03.3Apr 3, 2026
- Updated: locations, queues, queues_tasks
2026.04.03.1Apr 3, 2026
- Updated: locations, queues, queues_tasks
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: locations, queues, queues_tasks
05Stats
A
100 / 100
Downloads
0
Archive size
65.6 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels