@googleworkspace/gws-events

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

View in AI SkillSafe app
137935 downloads
0 stars
0 demos
SKILL.md
namegws-events
descriptionSubscribe to Google Workspace events.
metadatagws

events (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to 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.

subscriptions

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.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/gws-events/verified)](https://skillsafe.ai/skill/@googleworkspace/gws-events/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/gws-events/installs)](https://skillsafe.ai/skill/@googleworkspace/gws-events/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/gws-events/scan)](https://skillsafe.ai/skill/@googleworkspace/gws-events/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/gws-events/eval)](https://skillsafe.ai/skill/@googleworkspace/gws-events/)