recipe-share-event-materials
от Google
Share Google Drive files with all attendees of a Google Calendar event.
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
Больше skills от Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Очистка ответа модели с помощью шаблона Model Armor.
gws-people
Google
Google People: Управление контактами и профилями.
gws-shared
Google
gws CLI: Общие шаблоны для аутентификации, глобальных флагов и форматирования вывода.
gws-sheets
Google
Google Sheets: Чтение и запись электронных таблиц.
gws-sheets-append
Google
Google Sheets: Добавить строку в таблицу.
gws-sheets-read
Google
Google Sheets: Чтение значений из электронной таблицы.
gws-slides
Google
Google Slides: Чтение и запись презентаций.
gws-tasks
Google
Google Tasks: Управление списками задач и задачами.