Skip to main content

Gcp/tasks

@swamp/gcp/tasksv2026.09.07.1· 3d agoMODELS
01README

Google Cloud tasks infrastructure models

02Release Notes
  • Updated: tasks
03Models2
@swamp/gcp/tasks/tasklistsv2026.08.12.2tasklists.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
id?stringTask list identifier.
title?stringTitle of the task list. Maximum length allowed: 1024 characters.
fn create()
Create a tasklists
fn get(identifier: string)
Get a tasklists
ArgumentTypeDescription
identifierstringThe name of the tasklists
fn update(identifier?: string)
Update tasklists attributes
ArgumentTypeDescription
identifier?stringTarget a specific tasklists by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the tasklists
ArgumentTypeDescription
identifierstringThe name of the tasklists
fn sync(identifier?: string)
Sync tasklists state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific tasklists by name (e.g. one discovered by list)
fn list(maxResults?: number, maxPages?: number)
List tasklists resources
ArgumentTypeDescription
maxResults?numberMaximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000).
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Returns the authenticated user's specified task list.
@swamp/gcp/tasks/tasksv2026.09.07.1tasks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
completed?stringCompletion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
deleted?booleanFlag indicating whether the task has been deleted. For assigned tasks this field is read-only. They can only be deleted by calling tasks.delete, in which case both the assigned task and the original task (in Docs or Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. The default is False.
due?stringScheduled date for the task (as an RFC 3339 timestamp). Optional. This represents the day that the task should be done, or that the task is visible on the calendar grid. It doesn't represent the deadline of the task. Only date information is recorded; the time portion of the timestamp is discarded when setting this field. It isn't possible to read or write the time that a task is scheduled for using the API.
hidden?booleanFlag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.
id?stringTask identifier.
notes?stringNotes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters.
status?stringStatus of the task. This is either "needsAction" or "completed".
title?stringTitle of the task. Maximum length allowed: 1024 characters.
taskliststringTask list identifier.
previous?stringPrevious sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.
fn create()
Create a tasks
fn get(identifier: string)
Get a tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
fn update(identifier?: string)
Update tasks attributes
ArgumentTypeDescription
identifier?stringTarget a specific tasks by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
fn sync(identifier?: string)
Sync tasks state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific tasks by name (e.g. one discovered by list)
fn list(completedMax?: string, completedMin?: string, dueMax?: string, dueMin?: string, maxResults?: number, showAssigned?: boolean, showCompleted?: boolean, showDeleted?: boolean, showHidden?: boolean, updatedMin?: string, maxPages?: number)
List tasks resources
ArgumentTypeDescription
completedMax?stringUpper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
completedMin?stringLower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
dueMax?stringUpper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
dueMin?stringLower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
maxResults?numberMaximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100).
showAssigned?booleanOptional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.
showCompleted?booleanFlag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.
showDeleted?booleanFlag indicating whether deleted tasks are returned in the result. Optional. The default is False.
showHidden?booleanFlag indicating whether hidden tasks are returned in the result. Optional. The default is False.
updatedMin?stringLower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn clear()
clear
fn move(destinationTasklist?: any, parent?: any, previous?: any)
move
ArgumentTypeDescription
destinationTasklist?any
parent?any
previous?any

Resources

state(infinite)— Returns the specified task.
04Previous Versions19
2026.08.12.2
  • Updated: tasklists, tasks
2026.07.29.1
  • Updated: tasklists, tasks
2026.07.21.3
  • Updated: tasklists, tasks
2026.07.21.1
  • Updated: tasklists, tasks
2026.07.20.1
  • Updated: tasklists, tasks
2026.07.19.1
  • Updated: tasklists, tasks
2026.07.18.1
  • Updated: tasklists, tasks
2026.07.17.1
  • Updated: tasks
2026.06.08.2
  • Updated: tasklists, tasks
2026.06.07.1
  • Updated: tasklists, tasks
2026.05.25.2
  • Updated: tasklists

Modified 2 models

2026.05.24.1
  • Updated: tasklists, tasks
2026.05.21.2
  • Updated: tasklists, tasks
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.03.3
  • Updated: tasklists, tasks
2026.04.03.1
  • Updated: tasklists, tasks
05Stats
A
100 / 100
Downloads
0
Archive size
36.0 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 types (deprecated)1/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