On Wed, Aug 6, 2014 at 8:50 PM, Jarrod Roberson <jar...@vertigrated.com>
wrote:

> There doesn't seem to be a way to delete a ImagesService servingUrl when
> it is created with the new ServingUrlOptions.googleStorageFileName?
> *Version 1.7.0 - June 26, 2012*
>
>    - *You can now use get_serving_url() and delete_serving_url() for
>    Google Cloud Storage buckets.*
>
> *But I can't find a method that accepts a GcsFilename object?*
>



The page you're quoting from is for the Python runtime:
http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes (scroll down
to *Version 1.7.0* ) which does have that function:
https://developers.google.com/appengine/docs/python/images/functions (scroll
down to *delete_serving_url*).

If you're using Java, can you try the following: create a BlobKey by using
the createGsBlobKey(String gcs_filename) function (
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobstoreService.html#createGsBlobKey(java.lang.String)
) and then pass the BlobKey to deleteServingURL (
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/images/ImagesService.html#deleteServingUrl(com.google.appengine.api.blobstore.BlobKey)
) and
see if that works?



 -----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to