来自不同项目的Google App Engine访问云数据存储 [英] Google App Engine Access Cloud Datastore from Different Project

查看:98
本文介绍了来自不同项目的Google App Engine访问云数据存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图从一个不同的谷歌应用程序引擎项目中找到一个项目中访问数据仓库的解决方案。我从一个不同的项目的计算引擎访问数据存储的教程,但是,这不是我正在寻找的。这里需要的是从不同的应用程序引擎项目访问一个项目上的数据存储。有没有人成功做到这一点?任何想法?

I have been trying to find a solution to accessing a datastore in one project from a different google app engine project. I went through the tutorial on accessing a datastore from a different project's compute engine, however, this is not what I am looking for. What is required here is accessing a datastore on one project from a different app engine project. Has anyone done this successfully? Any ideas?

干杯

推荐答案

正如@Patrice所说,可以使用 Java远程API (或 for Python ),它允许您从任何其他应用程序访问不同的App Engine服务,如上所述在文档中。

As @Patrice says, this is possible by using the Remote API for Java (or for Python), which lets you access different App Engine services from any other application, as stated in the documentation.

有关如何使用Remote API远程访问Datastore的更多具体信息,请查看文章,从逐步解释所有过程的文档中获知。

For a more specific information on how to access the Datastore remotely with the Remote API, please take a look at this article from the documentation that explains step by step all the procedure.

请注意,如果您的Google帐户已配置为使用两步验证 ,你需要一个应用程序密码,授权应用程序访问您的帐户资源。

Please, take into account that if your Google account is configured to use 2-Step Verification, you will need an App Password that authorizes the app to access your account resources.

这篇关于来自不同项目的Google App Engine访问云数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆