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
apps-script-webmeet-stage
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": [
    "apps-script-web",
    "meet-stage"
  ],
  "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 Try it live →
Deploy your own renderer

The renderer is open source. 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 apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →