I am want to use the ImageService API to get to get obscure/secure URLs to 
my public objects Google Cloud Storage.  I am saving the blob on storage 
(successfully), and using the getServingUrl API on the ImageService to get 
the serving URL.  This call throws ImageServiceFailureException.  Scoured 
thro' the limited documentation, found no solution. My images are less than 
1 MB. Please help if you have encountered this and have solved it.  My code 
fragment


ImagesService imagesService = ImagesServiceFactory.getImagesService();

ServingUrlOptions options = 
ServingUrlOptions.Builder.withGoogleStorageFileName( "/gs/" + envBucket + 
"/"

+ PROJECT_PREFIX + "/" + projectUuid + "/floorplanmodel/image" + imagenumber
).secureUrl(true); 

url = imagesService.getServingUrl(options); 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/405c1acd-c9f5-4c78-9e9a-41da580c4aed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-ap... Gowtham Gupta
    • [goog... 'Nicolas (Google Cloud Platform Support)' via Google App Engine

Reply via email to