gws-events-renew

仓库创建 2026年3月3日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

自动续期订阅以保持事件流不中断,适合长期集成。

▸ 风险提示

需要 Google OAuth 授权,可能影响事件接收与回调设置。

这个 Skill 做什么

续期或重新激活 Google Workspace 事件订阅。

在 Google Workspace 中续期或重新激活事件订阅,当订阅过期、失联或需要恢复通知时使用。通过 gws 指定订阅名并重建监听,保证邮件、日历、Drive 等事件继续推送到你的处理端。与 gws 的认证机制和安全策略集成,支持命令化操作与自动化脚本,便于运维恢复订阅。

▸ 展开 SKILL.md 英文原文

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

办公文档事件订阅续期Workspace通用
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-events-renew/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-events-renew/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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

```bash
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

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

## Tips

via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有