I want to get the size of a folder in Google Cloud. I know I can do this by retrieving all files and loop through the files and summarize all files sizes, but this is a time consuming action. I want to do this through an API.
Is there any function for this?
No, there is not. You'd either need to compute it when needed or keep a running tally via notifications.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.