install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/googleworkspace/cli/gws-events" ~/.claude/skills/comeonoliver-skillshub-gws-events && rm -rf "$T"
manifest:
skills/googleworkspace/cli/gws-events/SKILL.mdsource content
events (v1)
PREREQUISITE: Read
for auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
gws events <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
| Subscribe to Workspace events and stream them as NDJSON |
| Renew/reactivate Workspace Events subscriptions |
API Resources
message
— SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.stream
operations
— 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.get
subscriptions
— Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription.create
— Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.delete
— Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription.get
— Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions.list
— Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.patch
— Reactivates a suspended Google Workspace subscription. This method resets your subscription'sreactivate
field toState
. 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.ACTIVE
tasks
— Cancel a task from the agent. If supported one should expect no more task updates for the task.cancel
— Get the current state of a task from the agent.get
— 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.subscribe
— Operations on the 'pushNotificationConfigs' resourcepushNotificationConfigs
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.