Skip to main content

Gcp/workspaceevents

@swamp/gcp/workspaceeventsv2026.05.20.1· 1d agoMODELS
01README

Google Cloud workspaceevents infrastructure models

02Release Notes
  • Updated: subscriptions
03Models3
@swamp/gcp/workspaceevents/subscriptionsv2026.05.20.1subscriptions.ts

Global Arguments

ArgumentTypeDescription
driveOptions?objectAdditional supported options for serving Drive events.
expireTime?stringNon-empty default. The timestamp in UTC when the subscription expires. Always displayed on output, regardless of what was used on input.
name?stringIdentifier. Resource name of the subscription. Format: `subscriptions/{subscription}`
notificationEndpoint?objectThe endpoint where the subscription delivers events.
payloadOptions?objectOptions about what data to include in the event payload. Only supported for Google Chat and Google Drive events.
targetResource?stringRequired. 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?stringInput 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
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
fn update(waitForReady?: boolean)
Update subscriptions attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
fn delete(identifier: string)
Delete the subscriptions
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
fn sync()
Sync tasks state from GCP
fn cancel(tenant?: any)
cancel
ArgumentTypeDescription
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

ArgumentTypeDescription
name?stringThe resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
pushNotificationConfig?objectConfiguration for setting up push notifications for task updates.
configId?stringRequired. The ID for the new config.
tenant?stringOptional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the pushNotificationConfigs
fn delete(identifier: string)
Delete the pushNotificationConfigs
ArgumentTypeDescription
identifierstringThe name of the pushNotificationConfigs
fn sync()
Sync pushNotificationConfigs state from GCP

Resources

state(infinite)— Get a push notification config for a task.
04Previous Versions10
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