简体   繁体   English

来自不同项目的Google App Engine访问云数据存储

[英]Google App Engine Access Cloud Datastore from Different Project

I have been trying to find a solution to accessing a datastore in one project from a different google app engine project. 我一直在尝试找到从另一个Google App Engine项目访问一个项目中的数据存储的解决方案。 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. 此处需要从另一个App Engine项目访问一个项目上的数据存储。 Has anyone done this successfully? 有人成功做到了吗? Any ideas? 有任何想法吗?

Cheers 干杯

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. 正如@Patrice所说,可以通过使用Java (或Python )的远程API来实现,该远程API使您可以从任何其他应用程序访问不同的App Engine服务,如文档中所述。

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. 有关如何使用Remote API远程访问数据存储区的更具体的信息,请查看文档中的这篇文章 ,其中逐步说明了所有过程。

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帐户配置为使用“ 两步验证” ,则您将需要一个应用密码来授权该应用访问您的帐户资源。

实际上,有一个API可让您从任何地方(甚至从另一个App)调用App Engine服务,只要凭据正常,它就被称为“ 远程API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google本地云数据存储查看器未针对App Engine Eclipse项目显示 - Google Local Cloud Datastore Viewer Not Showing For App Engine Eclipse Project 如何从Android应用程序和django网站访问一个Cloud Datastore(Google App Engine)? - How to access one Cloud Datastore(Google App Engine) from Android app and django-website? 如何使用现有Compute Engine中具有不同项目ID的Google Cloud Datastore? - How to use Google Cloud Datastore from existing Compute Engine with different project id? 从Google App引擎查询现有的Google Cloud Datastore - Query an existing Google Cloud Datastore from Google app engine 如何从同一应用项目中的 python2.7 微服务访问谷歌应用引擎 ndb 数据存储 - How to access the google app engine ndb datastore from a python2.7 microservice in the same app project 如何将数据从应用程序引擎保存到数据存储谷歌云 javascript - How to save data from app engine to datastore google cloud javascript Google Cloud Datastore与Google App Engine - Google Cloud Datastore vs Google App Engine Google Cloud Datastore 和 Flask App Engine - Google Cloud Datastore and Flask App Engine Google App Engine中的数据存储与云SQL - Datastore vs Cloud SQL in Google App Engine 带有python的Google App Engine数据存储标签云 - Google app engine datastore tag cloud with python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM