The old 'google.appengine.api' is used by the App Engine API <https://cloud.google.com/appengine/docs/standard/python/apis> and were made specifically to run on the App Engine Standard environment (which was the only hosted solution at the time).
Now with the new App Engine Flexible environment, Kubernetes Engine, Cloud Functions, etc a new API needed to be made to allow generic access to Google services from any client. This new API is called the Google Cloud API <https://cloud.google.com/appengine/docs/flexible/python/apis> (aka Google Cloud Client Library) and uses a new 'google.cloud' import. With this new Cloud Client Library you can use the Google Cloud Storage API <https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/storage>to interact with Cloud Storage from the App Engine Flex environment. In your case you would use the new 'download <https://googlecloudplatform.github.io/google-cloud-python/latest/storage/blobs.html#google.cloud.storage.blob.Blob.download_as_string>' methods to download your pickle file <https://cloud.google.com/storage/docs/object-basics#storage-download-object-python> . -- 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/1a6d1770-055b-4680-8067-d94136c4684b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
