recipe-create-shared-drive
作成者: Google
Google Shared Driveを作成し、適切な役割でメンバーを追加します。
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}'
Googleのその他のスキル
gws-modelarmor-sanitize-response
Google
Google Model Armor: モデルアーマーテンプレートを使用してモデルの応答をサニタイズします。
gws-people
Google
Google People: 連絡先とプロフィールを管理します。
gws-shared
Google
gws CLI: 認証、グローバルフラグ、出力フォーマットのための共有パターン。
gws-sheets
Google
Google Sheets: スプレッドシートの読み書きを行います。
gws-sheets-append
Google
Google Sheets: スプレッドシートに行を追加します。
gws-sheets-read
Google
Google Sheets: スプレッドシートから値を読み取ります。
gws-slides
Google
Google Slides:プレゼンテーションの読み取りと書き込みを行います。
gws-tasks
Google
Google Tasks: タスクリストとタスクを管理します。