Firebase:如果我为计划付费,是否只能使用第三方功能? [英] Firebase: Am I only allowed to use third party functions if I pay for a plan?

查看:178
本文介绍了Firebase:如果我为计划付费,是否只能使用第三方功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近几天,我一直在尝试使功能正常工作,并且不断出错.在他们的CLI指南中,他们说,如果您是自由用户,则无法对第三方进行API调用,而且我不知道是否也仅为index.js中的函数包含4条自定义代码行文件

I've been trying to get functions to work for the last few days, and I keep getting errors. In their CLI guides, they say that you can't make API calls to third parties if you're a free user, and I don't know if that also includes just 4 custom lines of code for a function in the index.js file

推荐答案

当您的项目处于免费的Spark计划中时,Cloud Functions for Firebase仅允许调用Google拥有的服务.这样做是为了防止滥用.

When your project is on the free Spark plan, Cloud Functions for Firebase only allows calls to Google-owned service. This is done to prevent abuse.

代码行数对此没有影响,即使是单行代码,对外部服务的调用也会被拒绝.

The number of lines of code play no role in this, calls to external services are rejected even if it's in a one-liner.

这篇关于Firebase:如果我为计划付费,是否只能使用第三方功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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