360 Secure SkillHub
360 安全技能中心

Gws Events Renew

该 Skill 提供 gws events +renew 命令:可用 --name 重新激活指定订阅,或用 --all 配合 --within 批量续订时间窗口内即将到期的订阅;文档提示可结合定时任务定期执行以保持订阅存活。运行依赖 gws 命令行及共享认证配置。

googleworkspace-bot
googleworkspace-bot
热度 74.21
最近更新 2026-05-11 17:28:46
分类:自动化依赖:代码执行 / 第三方 API应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gws-events-renew
Metadata
name
gws-events-renew
description
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
metadata
{"version":"0.22.5","openclaw":{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws events +renew --help"}}

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