Drive Storage Usage

Google Drive storage quota displayed as a labelled progress bar — used GB, total GB, and percentage. Bar colour shifts to amber above 70% and red above 90%. On GAS uses DriveApp; elsewhere pass used_gb and total_gb fields.

Surfaces
google-apps-script-webgoogle-meet-stagemcp-apps ⚠
Degraded on
SurfaceNote
mcp-appsrenders sample data — live Google Workspace data requires an Apps Script deployment
Live preview
Drive Storage1.0 GB / 5.0 GB
20% used
Fields
FieldType
labelstring. Card heading. Default is "Drive Storage".optional
accentstring. Bar colour below 70% usage.optional
used_gbnumber (static connector). GB used — for non-GAS surfaces.required
total_gbnumber (static connector). Total quota GB — for non-GAS surfaces.required
auth_tokenstring (api connector). OAuth2 bearer token for REST API.required
Example payload
{
  "type": "drive_storage_usage",
  "used_gb": 1,
  "total_gb": 5,
  "auth_token": "your-api-token"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:drive_storage_usage",
  "displayName": "Drive Storage Usage",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/drive_storage_usage",
  "capabilities": [
    "google-apps-script-web",
    "google-meet-stage",
    "mcp-apps"
  ],
  "description": "Google Drive storage quota displayed as a labelled progress bar \u2014 used GB, total GB, and percentage. Bar colour shifts to amber above 70% and red above 90%. On GAS uses DriveApp; elsewhere pass used_gb and total_gb fields.",
  "representativeQueries": [
    "show a Drive storage quota progress bar \u2014 live on GAS, or pass used_gb/total_gb for static",
    "google drive storage quota displayed as a labelled progress bar \u2014 used gb, total gb, and percentage.",
    "render a drive storage usage"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →