Gcp/workspaceevents
@swamp/gcp/workspaceeventsv2026.05.20.1
01README
Google Cloud workspaceevents infrastructure models
02Release Notes
- Updated: subscriptions
03Models
@swamp/gcp/workspaceevents/subscriptionsv2026.05.20.1subscriptions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| driveOptions? | object | Additional supported options for serving Drive events. |
| expireTime? | string | Non-empty default. The timestamp in UTC when the subscription expires. Always displayed on output, regardless of what was used on input. |
| name? | string | Identifier. Resource name of the subscription. Format: `subscriptions/{subscription}` |
| notificationEndpoint? | object | The endpoint where the subscription delivers events. |
| payloadOptions? | object | Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events. |
| targetResource? | string | Required. Immutable. The Google Workspace resource that's monitored for events, formatted as the [full resource name](https://google.aip.dev/122#full-resource-names). To learn about target resources and the events that they support, see [Supported Google Workspace events](https://developers.google.com/workspace/events#supported-events). A user can only authorize your app to create one subscription for a given target resource. If your app tries to create another subscription with the same user cr |
| ttl? | string | Input only. The time-to-live (TTL) or duration for the subscription. If unspecified or set to `0`, uses the maximum possible duration. |
fn create(waitForReady?: boolean)
Create a subscriptions
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
fn update(waitForReady?: boolean)
Update subscriptions 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 subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
fn sync()
Sync subscriptions state from GCP
fn reactivate()
reactivate
Resources
state(infinite)— A subscription to receive events about a Google Workspace resource. To learn ...
@swamp/gcp/workspaceevents/tasksv2026.05.19.2tasks.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 tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn sync()
Sync tasks state from GCP
fn cancel(tenant?: any)
cancel
| Argument | Type | Description |
|---|---|---|
| tenant? | any |
fn subscribe()
subscribe
Resources
state(infinite)— Task is the core unit of action for A2A. It has a current status and when res...
@swamp/gcp/workspaceevents/tasks-pushnotificationconfigsv2026.05.19.2tasks_pushnotificationconfigs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
| pushNotificationConfig? | object | Configuration for setting up push notifications for task updates. |
| configId? | string | Required. The ID for the new config. |
| tenant? | string | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a pushNotificationConfigs
fn get(identifier: string)
Get a pushNotificationConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the pushNotificationConfigs |
fn delete(identifier: string)
Delete the pushNotificationConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the pushNotificationConfigs |
fn sync()
Sync pushNotificationConfigs state from GCP
Resources
state(infinite)— Get a push notification config for a task.
04Previous Versions
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.2May 18, 2026
2026.05.14.1May 14, 2026
- Updated: subscriptions
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
- Updated: tasks
2026.04.03.3Apr 3, 2026
- Updated: subscriptions, tasks, tasks_pushnotificationconfigs
2026.04.03.1Apr 3, 2026
- Updated: subscriptions, tasks, tasks_pushnotificationconfigs
2026.04.02.2Apr 2, 2026
- Updated: subscriptions
2026.03.27.1Mar 27, 2026
- Added: subscriptions, tasks, tasks_pushnotificationconfigs
05Stats
A
100 / 100
Downloads
0
Archive size
30.3 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
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels