gws-events by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-events前提条件: 请先阅读
../gws-shared/SKILL.md以了解身份验证、全局标志和安全规则。如果该文件缺失,请运行gws generate-skills命令来创建它。
gws events <resource> <method> [flags]
| 命令 | 描述 |
|---|---|
+subscribe | 订阅 Workspace 事件并将其作为 NDJSON 流式传输 |
+renew |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 续订/重新激活 Workspace Events 订阅 |
stream — SendStreamingMessage 是一个流式调用,将返回任务更新事件流,直到任务处于中断或终止状态。get — 获取长时间运行操作的最新状态。客户端可以使用此方法按照 API 服务建议的时间间隔轮询操作结果。create — 创建 Google Workspace 订阅。要了解如何使用此方法,请参阅 创建 Google Workspace 订阅。delete — 删除 Google Workspace 订阅。要了解如何使用此方法,请参阅 删除 Google Workspace 订阅。get — 获取 Google Workspace 订阅的详细信息。要了解如何使用此方法,请参阅 获取 Google Workspace 订阅的详细信息。list — 列出 Google Workspace 订阅。要了解如何使用此方法,请参阅 列出 Google Workspace 订阅。patch — 更新或续订 Google Workspace 订阅。要了解如何使用此方法,请参阅 更新或续订 Google Workspace 订阅。reactivate — 重新激活已暂停的 Google Workspace 订阅。此方法会将您的订阅的 State 字段重置为 ACTIVE。在使用此方法之前,您必须修复导致订阅暂停的错误。此方法将忽略或拒绝任何当前未处于暂停状态的订阅。要了解如何使用此方法,请参阅 重新激活 Google Workspace 订阅。cancel — 从代理取消任务。如果支持,应预期不会再收到该任务的更新。get — 从代理获取任务的当前状态。subscribe — TaskSubscription 是一个流式调用,将返回任务更新事件流。这会将流附加到现有正在处理的任务。如果任务完成,流将返回已完成的任务(类似于 GetTask)并关闭流。pushNotificationConfigs — 对 'pushNotificationConfigs' 资源的操作在调用任何 API 方法之前,请先检查它:
# 浏览资源和方法
gws events --help
# 检查方法的必需参数、类型和默认值
gws schema events.<resource>.<method>
使用 gws schema 的输出内容来构建您的 --params 和 --json 标志。
每周安装量
5.4K
代码仓库
GitHub 星标数
22.2K
首次出现
2026年3月4日
安全审计
安装于
codex5.3K
opencode5.3K
gemini-cli5.3K
cursor5.2K
github-copilot5.2K
amp5.2K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws events <resource> <method> [flags]
| Command | Description |
|---|---|
+subscribe | Subscribe to Workspace events and stream them as NDJSON |
+renew | Renew/reactivate Workspace Events subscriptions |
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.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.create — Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription.delete — Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.get — Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription.list — Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions.patch — Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.reactivate — Reactivates a suspended Google Workspace subscription. This method resets your subscription's field to . 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 .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' resourceBefore 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.
Weekly Installs
5.4K
Repository
GitHub Stars
22.2K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.3K
opencode5.3K
gemini-cli5.3K
cursor5.2K
github-copilot5.2K
amp5.2K
Vercel Web界面规范检查工具 - 自动检测代码是否符合Web设计指南
202,600 周安装
Coinbase Pay-for-Service:使用 USDC 自动支付 API 调用费用的完整指南
1,600 周安装
Three.js 纹理加载与配置教程 - 从基础到高级纹理处理指南
1,600 周安装
TypeScript E2E 测试指南:使用 Docker 和 GWT 模式进行端到端测试
1,600 周安装
AI代码审查分析工具 - 自动化代码质量、安全、性能审查最佳实践
1,600 周安装
Docker模式最佳实践:多阶段构建、Docker Compose配置与容器化开发指南
1,800 周安装
Claude 策略性压缩技能:智能管理上下文,提升AI编程效率与性能
1,700 周安装
StateACTIVE