recipe-share-event-materials 是做什麼的?
與 Google 日曆活動的所有參與者分享 Google Drive 檔案。
概述
此技能可讓您將 Google Drive 檔案(例如議程、簡報或會議資料)自動分享給特定 Google 日曆活動的所有參與者。
使用方式
- 在 Google 日曆中建立或識別一個包含所需參與者的活動。
- 使用此技能,指定活動 ID 以及一個或多個要分享的 Google Drive 檔案 ID。
- 技能將會為每位活動參與者設定檔案權限,授予他們檢視或編輯檔案的存取權限。
必要條件
- 有效的 Google Workspace 帳戶。
- 已安裝並設定 Google 日曆和 Google Drive API。
- 所需的 OAuth 範圍:
https://www.googleapis.com/auth/calendar.events.readonlyhttps://www.googleapis.com/auth/drive.file
範例
skill.execute("googleworkspace/recipe-share-event-materials", {
eventId: "abc123def456",
fileIds: ["1a2b3c4d5e6f7g8h9i0j", "2b3c4d5e6f7g8h9i0j1k"]
})
支援
如需協助,請參閱 Google Workspace 開發者文件或聯絡您的系統管理員。