recipe-watch-drive-changes

recipe-watch-drive-changes

人気

Subscribe to change notifications on a Google Drive file or folder.

2.7万スター
1669フォーク
更新日 2026/3/31
リクエストされた翻訳はまだ完了していません。元の英語を表示しています。
SKILL.md
読み取り専用
name
recipe-watch-drive-changes
description

Subscribe to change notifications on a Google Drive file or folder.

Watch for Drive Changes

PREREQUISITE: Load the following skills to execute this recipe: gws-events

Subscribe to change notifications on a Google Drive file or folder.

Steps

  1. Create subscription: gws events subscriptions create --json '{"targetResource": "//drive.googleapis.com/drives/DRIVE_ID", "eventTypes": ["google.workspace.drive.file.v1.updated"], "notificationEndpoint": {"pubsubTopic": "projects/PROJECT/topics/TOPIC"}, "payloadOptions": {"includeResource": true}}'
  2. List active subscriptions: gws events subscriptions list
  3. Renew before expiry: gws events +renew --subscription SUBSCRIPTION_ID