title: Google cloud storage get object size api
body: <p>Is there a way to get the size in bytes of a folder from google cloud storage through an API?
  I saw there is a du command for the <a href="https://cloud.google.com/storage/docs/gsutil/commands/du" rel="noreferrer">https://cloud.google.com/storage/docs/gsutil/commands/du</a> for gsutil. But I didn't find anywhere if it is possible to get this data through an API.</p>