recipe-create-shared-drive
bởi Google
Create a Google Shared Drive and add members with appropriate roles.
npx skills add https://github.com/googleworkspace/cli --skill recipe-create-shared-driveCreate and Configure a Shared Drive
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
Create a Google Shared Drive and add members with appropriate roles.
Steps
- Create shared drive:
gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}' - Add a member:
gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}' - List members:
gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'
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ụ.