# Gws Events

Subscribe to Google Workspace events.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill gws-events -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill gws-events -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill gws-events -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill gws-events -g -a gemini-cli -y`

## Description

Subscribe to Google Workspace events.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# events (v1)

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

```bash
gws events <resource> <method> [flags]
```

## Helper Commands

| Command | Description |
|---------|-------------|
| [`+subscribe`](../gws-events-subscribe/SKILL.md) | Subscribe to Workspace events and stream them as NDJSON |
| [`+renew`](../gws-events-renew/SKILL.md) | 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.

### subscriptions

The rest: https://github.com/googleworkspace/cli/blob/HEAD/skills/gws-events/SKILL.md
