由于 Cloud Build API,Firebase Cloud Functions 是否需要在 2020 年 4 月 20 日之前启用计费?

cre*_*not 5 firebase google-cloud-platform google-cloud-functions google-cloud-build

云函数和云构建

我通过电子邮件收到通知,我需要为我的 Firebase 项目执行以下操作:

[需要采取行动] 在 2020 年 4 月 20 日之前为您的 Cloud Functions 项目启用 Google Cloud Build API

该消息进一步解释了Cloud Functions将来会使用Cloud BuildContainer RegistryCloud Storage来部署代码。

计费

收到通知后,我按照描述的步骤操作:

  1. 访问Cloud Console 中的Cloud Build API链接。
  2. 从下拉菜单中选择您的项目。
  3. 点击继续为项目启用 Cloud Build API。左下角将出现一个框以确认 API 已启用。

我访问了该链接并按照步骤操作,但失败了:在 Google Cloud Console 中为我的 Firebase 项目This API cannot be enabled at the moment. You may lack appropriate permissions. 使用Cloud Build 中的“启用”按钮显示:

需要计费


这是否意味着 Cloud Functions for Firebase 现在需要启用计费,即Blaze 计划

cre*_*not 5

答案是肯定的(得到支持确认)和否定的。


如果您想在 4 月 20 日之后部署 Cloud Functions,则必须在 GCP 控制台中设置一个计费帐户。这是因为当超过免费配额时,您需要为 Cloud Build 支付额外费用。


但是,你需要选择火焰计划在火力地堡。