Cloud Functions for Firebase 免费套餐中的“无出站网络”到底是什么意思?

What exactly mean “No Outbound Networking” in free tier on Cloud Functions for Firebase?

在 Google Firebase 定价 (https://firebase.google.com/pricing/) table 中指出:

The Spark plan only allows outbound network requests to Google-owned services.

是不是浏览器(客户端)页面中的JS函数无法调用FREE TIER中的Firebase函数获取数据?

不,他们不谈JavaScript函数,他们谈无服务器计算函数

https://firebase.google.com/features/functions/

这些函数只能对 Google 服务进行 http 调用,例如不是雅虎或亚马逊服务

以尽可能低的成本(11.53 美元)最好有 Blaze 计划并自由使用 REST 调用 Firebase 函数:

firebaser 在这里

很好,那篇文档可能应该得到澄清。

允许入站请求,只要您在允许的配额之内。因此您的应用程序可以调用 Cloud Functions。

免费计划项目的出站请求只允许Google拥有的服务。因此,您的 Cloud Function 代码只能调用 google 个拥有的 Web API,除非它是付费计划。

Update:以上内容适用于 Node.js 运行时高达 v8。 从 Node.js10 起,您的 Firebase 项目需要付费才能使用 Cloud Functions。有关这方面的完整详细信息,请参阅 Firebase FAQ on Cloud Functions pricing.