SKILL.md
readonlyread-only
name
recipe-share-event-materials
description
將 Google Drive 檔案分享給 Google 日曆活動的所有參與者。
與會議參與者分享檔案
先決條件: 載入以下技能以執行此配方:
gws-calendar、gws-drive
將 Google Drive 檔案分享給 Google 日曆活動的所有參與者。
步驟
- 取得活動參與者:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}' - 與每位參與者分享檔案:
gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "attendee@company.com"}' - 驗證分享設定:
gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table






