gws-events-renew

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

events +renew

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
前提条件: 阅读
../gws-shared/SKILL.md
了解认证、全局标志和安全规则。如果该文件缺失,请运行
gws generate-skills
来创建它。
续期/重新激活Workspace Events订阅

Usage

使用方法

bash
gws events +renew
bash
gws events +renew

Flags

标志

FlagRequiredDefaultDescription
--name
Subscription name to reactivate (e.g., subscriptions/SUB_ID)
--all
Renew all subscriptions expiring within --within window
--within
1hTime window for --all (e.g., 1h, 30m, 2d)
标志是否必填默认值描述
--name
要重新激活的订阅名称(例如:subscriptions/SUB_ID)
--all
续期所有在--within指定时间窗口内即将过期的订阅
--within
1h--all对应的时间窗口(例如:1h、30m、2d)

Examples

示例

bash
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2d
bash
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.
  • 如果不定期续期,订阅将会过期。
  • 结合--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订阅相关命令