Gcp/tasks
@swamp/gcp/tasksv2026.09.07.1
01README
Google Cloud tasks infrastructure models
02Release Notes
- Updated: tasks
03Models
@swamp/gcp/tasks/tasklistsv2026.08.12.2tasklists.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| id? | string | Task list identifier. |
| title? | string | Title of the task list. Maximum length allowed: 1024 characters. |
fn create()
Create a tasklists
fn get(identifier: string)
Get a tasklists
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasklists |
fn update(identifier?: string)
Update tasklists attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific tasklists by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the tasklists
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasklists |
fn sync(identifier?: string)
Sync tasklists state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific tasklists by name (e.g. one discovered by list) |
fn list(maxResults?: number, maxPages?: number)
List tasklists resources
| Argument | Type | Description |
|---|---|---|
| maxResults? | number | Maximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000). |
| maxPages? | number | Maximum 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| completed? | string | Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. |
| deleted? | boolean | Flag 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? | string | Scheduled 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? | boolean | Flag 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? | string | Task identifier. |
| notes? | string | Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters. |
| status? | string | Status of the task. This is either "needsAction" or "completed". |
| title? | string | Title of the task. Maximum length allowed: 1024 characters. |
| tasklist | string | Task list identifier. |
| previous? | string | Previous 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn update(identifier?: string)
Update tasks attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific tasks by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn sync(identifier?: string)
Sync tasks state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target 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
| Argument | Type | Description |
|---|---|---|
| completedMax? | string | Upper 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? | string | Lower 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? | string | Upper 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? | string | Lower 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? | number | Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100). |
| showAssigned? | boolean | Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False. |
| showCompleted? | boolean | Flag 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? | boolean | Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. |
| showHidden? | boolean | Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. |
| updatedMin? | string | Lower 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? | number | Maximum number of pages to fetch (default: 10) |
fn clear()
clear
fn move(destinationTasklist?: any, parent?: any, previous?: any)
move
| Argument | Type | Description |
|---|---|---|
| destinationTasklist? | any | |
| parent? | any | |
| previous? | any |
Resources
state(infinite)— Returns the specified task.
04Previous Versions
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