$npx -y skills add googleworkspace/cli --skill recipe-create-shared-driveCreate a Google Shared Drive and add members with appropriate roles.
| 1 | # Create and Configure a Shared Drive |
| 2 | |
| 3 | > **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive` |
| 4 | |
| 5 | Create a Google Shared Drive and add members with appropriate roles. |
| 6 | |
| 7 | ## Steps |
| 8 | |
| 9 | 1. Create shared drive: `gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}'` |
| 10 | 2. Add a member: `gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "member@company.com"}'` |
| 11 | 3. List members: `gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'` |