通过云功能在 Google Cloud Storage 中创建新的 csv 文件

问题描述第一次使用GoogleCloudStorage.下面我有一个云功能,只要将csv文件上传到我的存储桶内的my-folder就会触发该功能.我的目标是在同一文件夹中创建一个新的csv文件,读取上传的csv的内容并将每一行转换为将进入新创建的csv的URL.问题是我一开始就创

发布:2022-10-16 标签:pythoncsvgoogle-cloud-platformgoogle-cloud-storagegoogle-cloud-functions


如何在 CI/CD 中部署 Google Cloud Functions 而无需重新部署未更改的 Cloud Functions 以避免配额?

问题描述CloudBuild的创建配额为30.如果我们有超过30个CloudFunctions,则可以轻松达到此配额.有没有办法部署30多个人们使用的云功能,最好是足够聪明,不会部署未经修改的云功能?CloudBuildhasacreatequotaof30.Ifwehavemo

发布:2022-10-16 标签:terraformgoogle-cloud-platformgoogle-cloud-buildgoogle-cloud-functionscicd


使用现有函数将 Next.js 应用部署到 Firebase Functions

问题描述遵循一些教程像这个,我能够将我的Next.js应用程序部署到Firebase托管/功能.这是我的项目的简化文件夹结构:Followingafewtutorialslikethisone,IwasabletodeploymyNext.jsapptoFirebaseHosti

发布:2022-10-16 标签:firebasegoogle-cloud-functionsnext.js


我无法从我的 node.js firebase 函数 index.js 文件中验证大查询

问题描述我在我的firebase函数index.js文件中使用大查询API,但在初始化大查询实例时我不断收到内部服务器错误,我的第一次尝试是在函数目录中包含我的服务帐户密钥文件和我的代码在下面IamusingthebigqueryAPIinmyfirebasefunctionsi

发布:2022-10-16 标签:javascriptnode.jsgoogle-bigqueryfirebasegoogle-cloud-functions


Firebase Cloud 功能更新数据库中的所有条目

问题描述我在Firebase数据库中有一堆评论,我想通过CloudFunction对评论进行一些更新(这是一个简化的示例,我将做一些需要CloudFunction的逻辑).ihavebunchofcommentsinFirebasedatabaseandiwanttodosome

发布:2022-10-16 标签:javascriptexpressfirebasefirebase-realtime-databasegoogle-cloud-functions


如何使用 Google Cloud Function 查询现有子代并遍历 Object 以检测它是否存在于 Firebase 中?

问题描述我正在尝试在firebase数据库中更新(添加)一些子项.在这种情况下,我需要使用更新对象更新节点而不用GoogleCloudFunction覆盖所有子节点.Iamtryingtoupdate(adding)somechildrenonafirebasedatabase.

发布:2022-10-16 标签:javascriptforeachobjectfirebasegoogle-cloud-functions


无法在 Firebase 托管后面调用 Google Cloud Function - 状态 503,但状态页面上没有指示

问题描述我在访问公开的GoogleCloudHTTP函数时遇到问题通过Firebase托管.我认为CDN存在问题,因为功能没有改变,但我在状态页面上看不到任何内容:IhaveaproblemaccessingaGoogleCloudHTTPFunctionthatisexpose

发布:2022-10-16 标签:firebasegoogle-cloud-functionsfirebase-hostingfastly


云函数 onUpdate:无法读取未定义的属性“forEach"

问题描述现在我正在尝试更新我的项目中的图片.我可以更新云火商店中的图片网址.但我也想使用firebase云功能从云存储中删除之前的图片.NowIamtryingtoupdatethepictureinmyproject.Icouldupdatethepictureurlinthe

发布:2022-10-16 标签:javascriptnode.jsfirebasegoogle-cloud-storagegoogle-cloud-functions


如何检查变量是否是 firstore firebase 函数中的文档实例或集合引用?

问题描述在将文档引用作为输入传递的Firebase函数中,如何检查该引用是针对文档还是集合?InaFirebasefunctionthatispassedadocumentreferenceasinput,howcanIcheckifthatreferenceisforadocu

发布:2022-10-16 标签:firebasegoogle-cloud-firestoregoogle-cloud-functions


Firebase函数如何在Android中发送通知

问题描述我希望每次从firebase数据库修改聊天时,都会激活此功能sendNotification",但会出现此错误:sendNotificationReferenceError:receiverId未定义在exports.sendNotification.functions.

发布:2022-10-16 标签:node.jsfirebasefirebase-realtime-databasegoogle-cloud-functions