4 ms·
(Google cloud support here) The pages you linked to are supposed to serve as client libraries reference only. If you want higher level instructions and examples
by funkjunky 9y ago
(Google cloud support here)
The pages you linked to are supposed to serve as client libraries reference only. If you want higher level instructions and examples, always start with the main Google Cloud docs first. On any page that offers instructions, the top of the code windows offers a selection of client library languages/CLI tools/REST API available to do whatever that task is. For cloud storage, start here:
https://cloud.google.com/storage/docs/how-to https://cloud.google.com/storage/docs/how-to
Choose a topic, and select "Python" at the top. It should provide instructions and examples using the Python libraries.
Also, we have a repo of demo projects and examples for nearly every GCP product/service, and then some. Great examples to be found here (some might be out of date though):
https://github.com/GoogleCloudPlatform/python-docs-samples https://github.com/GoogleCloudPlatform/python-docs-samples
- bpicolo 9y agoHeya, Thanks for the link! You're right that this is what I was looking for. Unfortunately, that hadn't shown up in a convenient place while I was googling around. Would be good to add direct links to those from the client lib references, because those pop up for e.g. "google storage python" first. (Unless they're already there and I didn't see them). Links from the READMEs of the repo might be useful too to help people get there? https://github.com/GoogleCloudPlatform/google-cloud-python https://github.com/GoogleCloudPlatform/google-cloud-python
- funkjunky 9y agoThat's not a bad idea, I'll bring it up with our client library maintainers today.