Skip to main content

@swamp/gcp/workspaceevents

v2026.04.23.1

Google Cloud workspaceevents infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudworkspaceeventscloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • 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
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/workspaceevents

@swamp/gcp/workspaceevents/subscriptionsv2026.04.23.1subscriptions.ts

Global Arguments

ArgumentTypeDescription
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.
createCreate a subscriptions
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
updateUpdate subscriptions attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
syncSync subscriptions state from GCP
reactivatereactivate

Resources

state(infinite)— A subscription to receive events about a Google Workspace resource. To learn ...
@swamp/gcp/workspaceevents/tasksv2026.04.23.1tasks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
syncSync tasks state from GCP
cancelcancel
ArgumentTypeDescription
tenant?any
subscribesubscribe

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.04.23.1tasks_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)
createCreate a pushNotificationConfigs
getGet a pushNotificationConfigs
ArgumentTypeDescription
identifierstringThe name of the pushNotificationConfigs
deleteDelete the pushNotificationConfigs
ArgumentTypeDescription
identifierstringThe name of the pushNotificationConfigs
syncSync pushNotificationConfigs state from GCP

Resources

state(infinite)— Get a push notification config for a task.