I am using google cloud storage for storing images and also I have server running on NodeJs.
I want to generate for every image the servingUrl
(aka magicUrl) which would on the fly generate images of different sizes(see more https://medium.com/google-cloud/uploading-resizing-and-serving-images-with-google-cloud-platform-ca9631a2c556#.1jtzu5kuo)
I tried using gcloud
sdk to generate that, but I couldn't find anywhere getServingUrl
.
You seem to be confusing Google App Engine and Google Cloud Storage. The get_serving_url() method is only available in the Google App Engine SDK for Python, and is currently not available in the Google Cloud Client Library for Node.js.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With