-1

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:

  1. 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?

  2. If so, what is the required REST API call structure (e.g., specific applicationName, eventName, or filters) to target a report by Shared Drive ID to get this size metric?

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.