General
1,672 installs
Create and Configure a Shared Drive
by googleworkspace/cli
Create a Google Shared Drive and add members with appropriate roles.
Skill content
Create a Google Shared Drive and manage member access with role-based permissions.
- Requires the gws-drive skill and gws binary to execute
- Supports three core operations: creating shared drives, adding members with specific roles (writer, reader, etc.), and listing current members
- Uses Google Workspace API parameters for drive ID and permission management across shared drive resources
Create 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}'