recipe-watch-drive-changes
von Google
Subscribe to change notifications on a Google Drive file or folder.
npx skills add https://github.com/googleworkspace/cli --skill recipe-watch-drive-changesWatch 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
- 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}}' - List active subscriptions:
gws events subscriptions list - Renew before expiry:
gws events +renew --subscription SUBSCRIPTION_ID
Mehr Skills von Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Bereinigen einer Modellantwort durch eine Model Armor-Vorlage.
gws-people
Google
Google People: Kontakte und Profile verwalten.
gws-shared
Google
gws CLI: Gemeinsame Muster für Authentifizierung, globale Flags und Ausgabeformatierung.
gws-sheets
Google
Google Sheets: Tabellen lesen und schreiben.
gws-sheets-append
Google
Google Sheets: Eine Zeile an eine Tabelle anhängen.
gws-sheets-read
Google
Google Sheets: Werte aus einer Tabelle lesen.
gws-slides
Google
Google Slides: Präsentationen lesen und schreiben.
gws-tasks
Google
Google Tasks: Aufgabenlisten und Aufgaben verwalten.