gws-events-renew
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseevents +renew
events +renew
PREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
Renew/reactivate Workspace Events subscriptions
前提条件: 阅读了解认证、全局标志和安全规则。如果该文件缺失,请运行../gws-shared/SKILL.md来创建它。gws generate-skills
续期/重新激活Workspace Events订阅
Usage
使用方法
bash
gws events +renewbash
gws events +renewFlags
标志
| Flag | Required | Default | Description |
|---|---|---|---|
| — | — | Subscription name to reactivate (e.g., subscriptions/SUB_ID) |
| — | — | Renew all subscriptions expiring within --within window |
| — | 1h | Time window for --all (e.g., 1h, 30m, 2d) |
| 标志 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|
| — | — | 要重新激活的订阅名称(例如:subscriptions/SUB_ID) |
| — | — | 续期所有在--within指定时间窗口内即将过期的订阅 |
| — | 1h | --all对应的时间窗口(例如:1h、30m、2d) |
Examples
示例
bash
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2dbash
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2dTips
提示
- Subscriptions expire if not renewed periodically.
- Use --all with a cron job to keep subscriptions alive.
- 如果不定期续期,订阅将会过期。
- 结合--all和定时任务(cron job)来保持订阅持续有效。
See Also
另请参阅
- gws-shared — Global flags and auth
- gws-events — All subscribe to google workspace events commands
- gws-shared — 全局标志和认证
- gws-events — 所有Google Workspace Events订阅相关命令