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.
| Field | Type | |
|---|---|---|
| label | string. Card heading. Default is "Drive Storage". | optional |
| accent | string. Bar colour below 70% usage. | optional |
| used_gb | number (static connector). GB used — for non-GAS surfaces. | required |
| total_gb | number (static connector). Total quota GB — for non-GAS surfaces. | required |
| auth_token | string (api connector). OAuth2 bearer token for REST API. | required |
{
"type": "drive_storage_usage",
"used_gb": 1,
"total_gb": 5,
"auth_token": "your-api-token"
}
{
"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"
]
}
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 →