gws-events

Real-time event streaming and subscription management for Google Workspace. Provides three core resource types: subscriptions (create, list, get, delete, patch, reactivate), operations (poll long-running tasks), and message/task streaming for real-time event delivery Includes helper commands for subscribing to Workspace events as NDJSON streams and renewing suspended subscriptions Requires Google Workspace authentication and the gws binary; use gws schema to inspect method parameters before execution

INSTALLATION
npx skills add https://github.com/googleworkspace/cli --skill gws-events
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2a

  • 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

  • reactivate — Reactivates a suspended Google Workspace subscription. This method resets your subscription's State field to ACTIVE. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see Reactivate a Google Workspace subscription.

tasks

  • cancel — Cancel a task from the agent. If supported one should expect no more task updates for the task.
  • get — Get the current state of a task from the agent.
  • subscribe — TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.
  • pushNotificationConfigs — Operations on the 'pushNotificationConfigs' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods

gws events --help

# Inspect a method's required params, types, and defaults

gws schema events.<resource>.<method>

Use gws schema output to build your --params and --json flags.

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card