title: How to create an empty folder in google cloud bucket using Java API
body: <p>I am using the <b>JSON API - Google API Client Library for Java</b> to access the objects in Google Cloud Storage. I need to create (not upload) an empty folder in the bucket. <a href="https://i.stack.imgur.com/OmDkM.png" rel="nofollow noreferrer">Google Developer Web Console has that option to creating a directory</a>, but neither the Java API nor the gsutil command has a create folder command. If anybody knows how to do so, please let me know. Thanks in advance...</p>