Recipe Create Shared Drive

by googleworkspacea3768d0e82adNo license31K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated yesterday

Create a Google Shared Drive and add members with appropriate roles.

Instructions onlyProductivity & Workflow
AI-generated overview

Creates a Google Shared Drive and manages member permissions using the gws CLI.

What it does
This recipe walks through creating a Google Shared Drive, adding a member with a specified role, and listing the drive's current members. It provides the exact gws drive commands and JSON parameters for each step. The deliverable is a configured shared drive with member access set up.
When to use it
Use this when you need to provision a new Google Shared Drive for a team or project and grant people access. It fits administrative setup tasks where drive creation and permission assignment are done through the gws command-line tool.
Requirements
Requires the gws CLI binary and the gws-drive skill to be loaded. It ships no scripts; it is instructions only. Network access to Google Drive and appropriate Google account credentials are implied by the commands.

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

  1. Create shared drive: gws drive drives create --params '{"requestId": "unique-id-123"}' --json '{"name": "Project X"}'
  2. Add a member: gws drive permissions create --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}'
  3. List members: gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'

Source and attribution

Source:googleworkspace/cliinskills/recipe-create-shared-driveat commita3768d0

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal