More cool stuff you can do with the gsutil tool can be found in this documentation.
At some point, you might need to interface with Cloud Storage directly from your code, rather than going out to a command line option. You can include the client libraries into your code and call a simple api to get data into a bucket or folder.
And before you even ask about language, with options in C++, C#, Go, Java, Node.js, PHP, Python, and Ruby—we’ve got you covered.
For example, check out this Python code to upload an object to a Cloud Storage bucket: