We can easily view the Storage used metric for individual Shared Drives within the Google Workspace Admin Console (admin.google.com/ac/drive/manageshareddrives).
However, the Drive API (v3)'s drives.get method does not expose a storageUsed or similar property for Shared Drives, unlike the files.list endpoint which only provides individual file sizes.
We are looking for a method to retrieve this data programmatically without resorting to iterating over every file in the drive (which is inefficient and often hits API quota limits for large drives).
Our specific question is:
Is there a specific endpoint, resource, or filter within the Admin SDK Reports API that provides Shared Drive storage usage (size in bytes), similar to the data shown in the Admin Console?
If so, what is the required REST API call structure (e.g., specific
applicationName,eventName, orfilters) to target a report by Shared Drive ID to get this size metric?
