Tooluck logoTooluck
SKILL.md

gws-events

Agent skill fromgoogleworkspace/cli

Subscribe to Google Workspace events.

How to install gws-events

install gws-events
# install the cli pack with the skills CLI
npx skills add googleworkspace/cli

# or add only this skill to Claude Code: copy the folder

skills/gws-events/

# into

~/.claude/skills/gws-events/ (all projects)

.claude/skills/gws-events/ (one project)

skills/gws-events/SKILL.md

Apache-2.0Full file
1# events (v1)
2
3> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
4
5```bash
6gws events <resource> <method> [flags]
7```
8
9## Helper Commands
10
11| Command | Description |
12|---------|-------------|
13| [`+subscribe`](../gws-events-subscribe/SKILL.md) | Subscribe to Workspace events and stream them as NDJSON |
14| [`+renew`](../gws-events-renew/SKILL.md) | Renew/reactivate Workspace Events subscriptions |
15
16## API Resources
17
18### message
19
20 - `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.
21
22### operations
23
24 - `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.
25
26### subscriptions
27
28 - `create` — Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription).
29 - `delete` — Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).
30…

Excerpt shown under the repository's Apache-2.0 license.

More skills in cli

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates