Technical & DevelopmentIntermediate
gws-events
Subscribe to Google Workspace events
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/googleworkspace/cli --skill gws-eventsnpx skills add https://github.com/googleworkspace/cli --skill gws-eventsOr paste this URL into your assistant to install:
Overview
What This Skill Does
Manages event subscriptions for Google Workspace resources. You can create, list, update, delete, and reactivate subscriptions that stream real-time updates from Workspace services like Chat messages and calendar events.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
events (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws events <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+subscribe |
Subscribe to Workspace events and stream them as NDJSON |
+renew |
Renew/reactivate Workspace Events subscriptions |
API Resources
message
stream— SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.
operations
get— Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Lines 1 - 25 of 54
Recommendations