Skip to main content

Gcp/cloudtasks

@swamp/gcp/cloudtasksv2026.05.31.1· 2d agoMODELS
01README

Google Cloud cloudtasks infrastructure models

02Release Notes
  • Updated: queues
03Models3
@swamp/gcp/cloudtasks/locationsv2026.05.26.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync()
Sync locations state from GCP
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
extraLocationTypes?stringOptional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
filter?stringA 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?numberThe maximum number of results to return. If not set, the service selects a default.
maxPages?numberMaximum 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
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
appEngineRoutingOverride?objectApp 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?objectHTTP target. When specified as a Queue, all the tasks with [HttpRequest] will be overridden according to the target.
rateLimits?objectRate 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?objectRetry config. These settings determine when a failed task attempt is retried.
stackdriverLoggingConfig?objectConfiguration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a queues
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a queues
ArgumentTypeDescription
identifierstringThe name of the queues
fn update(waitForReady?: boolean)
Update queues attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
fn delete(identifier: string)
Delete the queues
ArgumentTypeDescription
identifierstringThe name of the queues
fn sync()
Sync queues state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List queues resources
ArgumentTypeDescription
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?numberRequested 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?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy(options?: any)
get iam policy
ArgumentTypeDescription
options?any
fn pause()
pause
fn purge()
purge
fn resume()
resume
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
responseView?enumThe 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?objectA unit of scheduled work.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a tasks
fn get(identifier: string)
Get a tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
fn delete(identifier: string)
Delete the tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
fn sync()
Sync tasks state from GCP
fn list(pageSize?: number, responseView?: string, maxPages?: number)
List tasks resources
ArgumentTypeDescription
pageSize?numberMaximum 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?stringThe 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?numberMaximum number of pages to fetch (default: 10)
fn buffer(body?: any)
buffer
ArgumentTypeDescription
body?any
fn run(responseView?: any)
run
ArgumentTypeDescription
responseView?any

Resources

state(infinite)— A unit of scheduled work.
04Previous Versions14
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