需要启用App Engine才能使用Cloud Firestore [英] App Engine needs to be enabled to use Cloud Firestore

查看:49
本文介绍了需要启用App Engine才能使用Cloud Firestore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我不再使用Google Cloud Platform App引擎服务,因此我将其禁用并在Firestore上出现以下错误:

Since I am not using the Google Cloud Platform App engine service anymore, I disabled it and got the following error on Firestore:

我可以找到的解决方法是部署一个虚拟应用程序引擎完全托管的应用程序.仍然我认为这不应该是正确的做事方式.

The workaround I could find is just to deploy a dummy app engine fully managed application. Still I think this should not be the right way of doing things.

还有另一种方法吗? Google为什么选择将Firestore链接到App Engine?

Is there another way? Why did Google choose to link Firestore to App Engine?

推荐答案

firebaser此处

Cloud Firestore是Cloud Datastore的演变,而Cloud Datastore又是App Engine中(最初未命名的)数据库.

Cloud Firestore is an evolution of Cloud Datastore, which in turn is the (originally unnamed) database in App Engine.

因此,Firebase选择将Firestore链接到App Engine并不是很多,因为我们不能在不重写大量基础架构的情况下将其与App Engine取消链接.有时可能会发生这种情况,但此刻,您需要启用App Engine才能使用Firestore.

So it's not as much that Firebase chose to link Firestore to App Engine, as it is that we can't unlink it from App Engine without rewriting a lot of infrastructure. That may happen at some point, but at the moment you'll need to keep App Engine enabled to use Firestore.

顺便说一句:这也是您很长时间可以在Firestore上设置支出限额的原因,但在其他Firebase产品上却没有设置支出限额的原因:它是从其App Engine沿袭中继承了支出限额.当设置支出限制的功能从App Engine中消失时,Firestore也失去了该功能

By the way: this is also the reason that for a long time you could set a spending limit on Firestore, but not on other Firebase products: it inherited its spending limit from its App Engine lineage. When the ability to set a spending limit disappeared from App Engine, Firestore also lost that ability.

这篇关于需要启用App Engine才能使用Cloud Firestore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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