Firebase:为您的Cloud Functions项目启用Google Cloud Build API吗? [英] Firebase: Enable the Google Cloud Build API for your Cloud Functions project?

查看:78
本文介绍了Firebase:为您的Cloud Functions项目启用Google Cloud Build API吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用firebase和firebase函数.

Hi I am using firebase and the firebase functions.

1天前,我收到了来自Google Cloud的电子邮件,其中包含以下内容:

1 day ago I received an email from Google Cloud with the following content:

从2020年4月20日开始,Cloud Functions将使用Google Cloud Build,Container Registry和Google Cloud Storage来构建和存储您的源代码,并部署容器映像,然后再在Google Cloud上运行它们.您必须为项目启用Cloud Build API,以确保正确构建和部署Cloud Function.启用API后,如果您的Cloud Build,Container Registry或Cloud Storage的使用量超出了这些产品的免费套餐限制,则可能会产生费用.您可以在此电子邮件的底部找到正在使用Cloud Functions的项目列表,这些项目可能会受到此更改的影响.

Starting April 20, 2020, Cloud Functions will use Google Cloud Build, Container Registry, and Google Cloud Storage to build and store your source code, and deploy container image(s) before running them on Google Cloud. You must enable the Cloud Build API for your project(s) to ensure your Cloud Function is built and deployed correctly. Once you enable the API, you may incur charges if your Cloud Build, Container Registry, or Cloud Storage usage exceeds the free tier limits for these products. You can find a list of your projects that are using Cloud Functions and may be affected by this change at the bottom of this email.

我倾向于避免修补Google Cloud(甚至登录那里),因为我将Firebase用作全包解决方案,并且到目前为止,我并不需要登录那里.

I tend to avoid tinkering the Google Cloud (or even logging in there) as I am using the Firebase as an all inclusive solution and so far I did not have the need to login there.

现在的问题:

我是否需要按照说明进行操作,还是这与Firebase功能不同?

Do I need to follow the instructions and take action, or is this something separate from the Firebase Functions?

电子邮件中提到的受影响的"项目是Firebase项目

The "affected" project that is mentioned on the email is the Firebase project

推荐答案

要在2020年4月20日之后使用云功能,您必须启用Cloud Build API,因为这将是一个新的部署框架. 如果在此日期之后未启用Cloud Build API,则将无法使用云功能. 这些更改甚至适用于Firebase云功能.

To be able to use cloud functions after April 20, 2020 you must enable the Cloud Build API because this will be a new deployment framework. You will not be able to use cloud functions if you do not enable the Cloud Build API after this date. These changes will apply even for Firebase cloud functions.

这篇关于Firebase:为您的Cloud Functions项目启用Google Cloud Build API吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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