--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, I don't, but it is on my list of things to do. Maybe someone else on this list has a working example they can share.
--
I don't have a fully baked example, but this is cut and paste from working code:import()webClient, err := serviceaccount.NewClient(c, arrayOfScopes []string)
storeClient, err := storage.New(webClient)err := storeClient.Objects.Delete(bucket, objectName).Do()---As you can see, once you're in appengine there really isn't much to it. Make sure you've enabled the JSON api and that your appengine projects has the right permissions to the bucket (user permission for projectId@appspot.gserviceaccount.com)
There are several steps involved... particularly regarding setting up the credentials...
At Gophercon 2014, Brian Dorsey put together a great Google Cloud Platform Workshop and has graciously made the presentation available here:
http://bit.ly/gcp-gophercon-slides
(or presentation view here: https://docs.google.com/a/google.com/presentation/d/1801ZRYkWrtyZeSZ6mHnZf9x4FPIvkncv3hnTxigCyHg/present#slide=id.g12c783db6_10 )
It includes setting up an example app in Go that accesses GCS from Go on App Engine.
The actual examples are located here: http://bit.ly/gcp-gophercon
This should help you get started.
Thank you, Brian!
-- Glenn
--
error getting history: googleapi: Error 401: Invalid Credentials
When I deploy and run it on appengine I get:
When I deploy and run it on appengine I get:error getting history: googleapi: Error 403: User Rate Limit Exceeded. Please sign up
--