---
id: ssh2-recipe-create-shared-drive
name: "recipe-create-shared-drive"
url: https://skills.yangsir.net/skill/ssh2-recipe-create-shared-drive
author: googleworkspace
domain: ai-productivity-automation
tags: ["google-shared-drives", "team-collaboration", "file-management", "cloud-storage", "google-workspace"]
install_count: 30300
rating: 4.60 (21 reviews)
github: https://github.com/googleworkspace/cli
---

# recipe-create-shared-drive

> 创建Google共享云端硬盘，并为成员添加适当的访问权限，实现团队文件共享。

**Stats**: 30,300 installs · 4.6/5 (21 reviews)

## Before / After 对比

### 快速创建共享云盘，高效管理团队文件。

## Readme

# 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": "member@company.com"}'`
3. List members: `gws drive permissions list --params '{"fileId": "DRIVE_ID", "supportsAllDrives": true}'`



---
*Source: https://skills.yangsir.net/skill/ssh2-recipe-create-shared-drive*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-recipe-create-shared-drive/markdown*