Methodologygeneric
gws-events-renew
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
googleworkspace/cli
Install
Use with your agent
Install the gws-events-renew skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill gws-events-renew. Then read the installed skill.md and follow its guidance to build or refactor my project.
events +renew
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Renew/reactivate Workspace Events subscriptions
Usage
gws events +renew
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--name | — | — | Subscription name to reactivate (e.g., subscriptions/SUB_ID) |
--all | — | — | Renew all subscriptions expiring within --within window |
--within | — | 1h | Time window for --all (e.g., 1h, 30m, 2d) |
Examples
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2d
Tips
- Subscriptions expire if not renewed periodically.
- Use --all with a cron job to keep subscriptions alive.
See Also
- gws-shared — Global flags and auth
- gws-events — All subscribe to google workspace events commands