{"id":"1bce76a7-bfd4-4fbb-a5f0-37f0aa4b6d4f","shortId":"TfZFmg","kind":"skill","title":"gws-events","tagline":"Subscribe to Google Workspace events.","description":"# events (v1)\n\n> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.\n\n```bash\ngws events <resource> <method> [flags]\n```\n\n## Helper Commands\n\n| Command | Description |\n|---------|-------------|\n| [`+subscribe`](../gws-events-subscribe/SKILL.md) | Subscribe to Workspace events and stream them as NDJSON |\n| [`+renew`](../gws-events-renew/SKILL.md) | Renew/reactivate Workspace Events subscriptions |\n\n## API Resources\n\n### message\n\n  - `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.\n\n### operations\n\n  - `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.\n\n### subscriptions\n\n  - `create` — Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription).\n  - `delete` — Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).\n  - `get` — Gets details about a Google Workspace subscription. To learn how to use this method, see [Get details about a Google Workspace subscription](https://developers.google.com/workspace/events/guides/get-subscription).\n  - `list` — Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).\n  - `patch` — Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update or renew a Google Workspace subscription](https://developers.google.com/workspace/events/guides/update-subscription).\n  - `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](https://developers.google.com/workspace/events/guides/reactivate-subscription).\n\n### tasks\n\n  - `cancel` — Cancel a task from the agent. If supported one should expect no more task updates for the task.\n  - `get` — Get the current state of a task from the agent.\n  - `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.\n  - `pushNotificationConfigs` — Operations on the 'pushNotificationConfigs' resource\n\n## Discovering Commands\n\nBefore calling any API method, inspect it:\n\n```bash\n# Browse resources and methods\ngws events --help\n\n# Inspect a method's required params, types, and defaults\ngws schema events.<resource>.<method>\n```\n\nUse `gws schema` output to build your `--params` and `--json` flags.","tags":["gws","events","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar"],"capabilities":["skill","source-googleworkspace","skill-gws-events","topic-agent-skills","topic-ai-agent","topic-automation","topic-cli","topic-discovery-api","topic-gemini-cli-extension","topic-google-admin","topic-google-api","topic-google-calendar","topic-google-chat","topic-google-docs","topic-google-drive"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/gws-events","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add googleworkspace/cli","source_repo":"https://github.com/googleworkspace/cli","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 25185 github stars · SKILL.md body (3,272 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T06:52:35.756Z","embedding":null,"createdAt":"2026-04-18T20:25:06.992Z","updatedAt":"2026-04-22T06:52:35.756Z","lastSeenAt":"2026-04-22T06:52:35.756Z","tsv":"'/gws-events-renew/skill.md':51 '/gws-events-subscribe/skill.md':40 '/gws-shared/skill.md':13 '/workspace/events/guides/create-subscription).':136 '/workspace/events/guides/delete-subscription).':158 '/workspace/events/guides/get-subscription).':184 '/workspace/events/guides/list-subscriptions).':204 '/workspace/events/guides/reactivate-subscription).':293 '/workspace/events/guides/update-subscription).':230 'activ':247 'agent':301,324 'api':56,112,379 'attach':341 'auth':15 'bash':31,383 'brows':384 'build':408 'call':64,330,377 'cancel':295,296 'client':96 'close':365 'command':36,37,375 'complet':354,360 'creat':29,115,116,129 'current':273,317 'default':399 'delet':137,138,151 'descript':38 'detail':161,176 'developers.google.com':135,157,183,203,229,292 'developers.google.com/workspace/events/guides/create-subscription).':134 'developers.google.com/workspace/events/guides/delete-subscription).':156 'developers.google.com/workspace/events/guides/get-subscription).':182 'developers.google.com/workspace/events/guides/list-subscriptions).':202 'developers.google.com/workspace/events/guides/reactivate-subscription).':291 'developers.google.com/workspace/events/guides/update-subscription).':228 'discov':374 'error':257 'event':3,8,9,33,44,54,73,339,389,402 'exist':346 'expect':306 'field':245 'fix':255 'flag':17,34,413 'generat':26 'generate-skil':25 'get':85,86,159,160,175,314,315 'gettask':363 'global':16 'googl':6,118,131,140,153,164,179,187,199,210,225,235,288 'gws':2,24,32,388,400,404 'gws-event':1 'help':390 'helper':35 'ignor':265 'inspect':381,391 'interrupt':80 'interv':107 'isn':271 'json':412 'latest':88 'learn':122,144,168,191,214,279 'like':362 'list':185,186,198 'long':93 'long-run':92 'messag':58 'method':100,127,149,173,196,219,239,252,263,284,380,387,393 'miss':22 'must':254 'ndjson':49 'one':304 'oper':84,95,104,369 'output':406 'param':396,410 'patch':205 'poll':102 'prerequisit':11 'process':348 'pushnotificationconfig':368,372 'reactiv':231,232,286 'read':12 'recommend':109 'reject':267 'renew':50,208,223 'renew/reactivate':52 'requir':395 'reset':240 'resourc':57,373,385 'result':105 'return':67,333,358 'rule':20 'run':23,94 'schema':401,405 'secur':19 'see':128,150,174,197,220,285 'sendstreamingmessag':60 'servic':113 'skill':27 'skill-gws-events' 'source-googleworkspace' 'state':83,89,244,277,318 'stream':46,59,63,69,329,335,343,356,367 'subscrib':4,39,41,325 'subscript':55,114,120,133,142,155,166,181,189,201,212,227,237,242,261,269,290 'support':303 'suspend':234,259,276 'task':71,76,294,298,309,313,321,337,349,352,361 'tasksubscript':326 'termin':82 'topic-agent-skills' 'topic-ai-agent' 'topic-automation' 'topic-cli' 'topic-discovery-api' 'topic-gemini-cli-extension' 'topic-google-admin' 'topic-google-api' 'topic-google-calendar' 'topic-google-chat' 'topic-google-docs' 'topic-google-drive' 'type':397 'updat':72,206,221,310,338 'use':98,125,147,171,194,217,250,282,403 'v1':10 'workspac':7,43,53,119,132,141,154,165,180,188,200,211,226,236,289","prices":[{"id":"7e886c29-d14a-4802-912f-52fcf18fb36a","listingId":"1bce76a7-bfd4-4fbb-a5f0-37f0aa4b6d4f","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:06.992Z"}],"sources":[{"listingId":"1bce76a7-bfd4-4fbb-a5f0-37f0aa4b6d4f","source":"github","sourceId":"googleworkspace/cli/gws-events","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/gws-events","isPrimary":false,"firstSeenAt":"2026-04-18T21:51:52.843Z","lastSeenAt":"2026-04-22T06:52:35.756Z"},{"listingId":"1bce76a7-bfd4-4fbb-a5f0-37f0aa4b6d4f","source":"skills_sh","sourceId":"googleworkspace/cli/gws-events","sourceUrl":"https://skills.sh/googleworkspace/cli/gws-events","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:06.992Z","lastSeenAt":"2026-04-22T06:40:13.091Z"}],"details":{"listingId":"1bce76a7-bfd4-4fbb-a5f0-37f0aa4b6d4f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"gws-events","github":{"repo":"googleworkspace/cli","stars":25185,"topics":["agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","google-workspace","oauth2","rust"],"license":"apache-2.0","html_url":"https://github.com/googleworkspace/cli","pushed_at":"2026-04-22T06:40:36Z","description":"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.","skill_md_sha":"e72f5124ae76e314cce75ee15b3b86b8ba9ea497","skill_md_path":"skills/gws-events/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/gws-events"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"gws-events","description":"Subscribe to Google Workspace events."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-events"},"updatedAt":"2026-04-22T06:52:35.756Z"}}