recipe-share-event-materials
bởi Google
Chia sẻ tệp Google Drive với tất cả người tham dự sự kiện Google Calendar.
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-event-materialsShare Files with Meeting Attendees
PREREQUISITE: Load the following skills to execute this recipe:
gws-calendar,gws-drive
Share Google Drive files with all attendees of a Google Calendar event.
Steps
- Get event attendees:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}' - Share file with each attendee:
gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}' - Verify sharing:
gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table
Thêm skills từ Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Làm sạch phản hồi của mô hình thông qua một mẫu Model Armor.
gws-people
Google
Quản lý danh bạ và hồ sơ.
gws-shared
Google
gws CLI: Các mẫu dùng chung cho xác thực, cờ toàn cục và định dạng đầu ra.
gws-sheets
Google
Google Sheets: Đọc và ghi bảng tính.
gws-sheets-append
Google
Google Sheets: Thêm một hàng vào bảng tính.
gws-sheets-read
Google
Google Sheets: Đọc giá trị từ một bảng tính.
gws-slides
Google
Google Slides: Đọc và viết bài thuyết trình.
gws-tasks
Google
Google Tasks: Quản lý danh sách tác vụ và tác vụ.