I have a web application that creates/deletes buckets, uploads/downloads objects from google storage and I am successfully using Google Apis Storage v1 and v1.Data in C#.
I would like to know if there is a way to find out how much space a bucket has used using the Google Apis. I was thinking something like StorageClient.GetBucket would return this information but it doesn't seem to.
All the help documentation seems to point to the gsutil but I can't use that as this is for a web application. So to clarify I am using Cloud Storage Client Libraries
I want to be able to look at any given moment how much space has been used for a particular bucket, using the Google.Storage.Apis (which isn't the XML API or JSON API)
Any help would be very much appreciated.