跳到正文
Skillpedia
自动化32k · #9163

gws-events-renew

它能做什么

这个工具可以重新激活可能已经过期的 Google Workspace 事件订阅,确保你能继续收到重要通知。

适用场景

  • ✓当你不再收到 Google Workspace 通知时。
  • ✓在某个事件订阅过期之前。
  • ✓为了确保你的通知始终处于激活状态。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/gws-events-renew/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-events-renew/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“重新激活我名为“subscriptions/12345”的事件订阅。”

每周 5 个新技能,1 分钟读完。

工作原理

你可以提供要重新激活的订阅名称,也可以要求重新激活在某个时间段内即将过期的所有订阅。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

events +renew

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Renew/reactivate Workspace Events subscriptions

Usage

gws events +renew

Flags

Flag Required Default Description
--name — — Subscription name to reactivate (e.g., subscriptions/SUB_ID)
--all — — Renew all subscriptions expiring within --within window
--within — 1h Time window for --all (e.g., 1h, 30m, 2d)

Examples

gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2d

Tips

  • Subscriptions expire if not renewed periodically.
  • Use --all with a cron job to keep subscriptions alive.

See Also

  • gws-shared — Global flags and auth
  • gws-events — All subscribe to google workspace events commands
常见问题

为什么订阅会过期?

订阅会定期过期,以确保它们仍然有用且运行正常。

如果不重新激活订阅会怎样?

你将不再收到该订阅对应的通知。

我可以一次重新激活多个订阅吗?

可以,使用 '--all' 选项就能重新激活所有即将过期的订阅。

详情

作者的原始描述

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

repo: googleworkspace/cli

热度

GitHub 星标
32k
排名
#9163
许可证
Apache-2.0
更新时间
2026/10/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能