技能 效率工具 Workspace 事件续订

Workspace 事件续订

v20260401
gws-events-renew
用于通过命令行续期或重启 Google Workspace 事件订阅,可指定订阅或按时间窗口批量更新,适合定时任务自动化保持订阅活跃。
获取技能
139 次下载
概览

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
信息
Category 效率工具
Name gws-events-renew
版本 v20260401
大小 1.23KB
更新时间 2026-04-08
语言