Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
在一行/函数中将中间件添加到所有 firebase 函数
In express您可以添加中间件 例如app use cors 它将它添加到所有端点 但是我在 firebase 示例中找不到类似的东西 这是例子 见下文 如何应用它每个功能 但是我想应用中间件 cors或其他 globally 因为我
javascript
nodejs
firebase
googlecloudfunctions
Firebase - 使用云功能定位特定的 Firestore 文档字段
将云函数与 Firebase 实时数据库结合使用时 您可以使用云函数定位特定字段 例如 给定这个 JSON 结构 我可以定位 user1 的电子邮件字段随 user userId email onUpdate云功能 user user1 n
firebase云函数中的权限被拒绝
在 firebase 云功能中 我在读取或写入实时数据库时在 admin firebase 上被拒绝访问 这https github com firebase firebase functions issues 16没有解决我的问题 App
javascript
firebase
firebaserealtimedatabase
googlecloudfunctions
我可以在 Firebase 函数上实现 beforeCreate 触发器吗
On the Firebase 文档他们提到了 4 种类型的触发器 onCreate onDelete onUpdate onWrite 有没有办法在触发 child added 侦听器之前侦听云函数中添加的行并修改添加行的字段 有没有办法
firebase
googlecloudfunctions
在 Firebase 的 Cloud Functions 中启用 CORS
我目前正在学习如何使用新的 Firebase Cloud Functions 我遇到的问题是我无法访问我通过 AJAX 请求编写的函数 我收到 无 访问控制允许来源 错误 这是我编写的函数的示例 exports test functions
javascript
firebase
googlecloudplatform
CORS
googlecloudfunctions
Google Cloud Functions 包含私有库
我正在寻找在节点中编写一个自定义库 并且希望将其包含在我的云函数中 由于这是共享代码 我希望能够在我的所有云功能中使用它 编写共享代码库并让多个云函数访问该库的最佳方式是什么 例如 假设我有两个云函数 functionS 和 functio
nodejs
googlecomputeengine
googlecloudfunctions
未接收 Firebase 云消息/通知。 JS
我正在尝试使用云功能将 FCM 发送到我的 React 应用程序 云函数正在执行 但客户端未收到通知 这里是云函数代码 exports sendPush functions database ref settings2 onWrite ev
Firebase 存储使用 490MB 但我没有存储桶?
Firebase 存储正在使用 490 MB 但尚未初始化任何存储桶 我无法追踪该存储的来源 但检查 Firebase 对空存储收取 0 10 美元的费用是很奇怪的 我在哪里可以删除此存储以及为什么 firebase 因没有存储桶而收费 目
firebase
firebaserealtimedatabase
googlecloudfunctions
firebasestorage
Google Storage 不是构造函数错误
我正在构建一个应用程序 我的目标是每次有人将图像上传到 firebase 存储时 云函数都会调整该图像的大小 import as Storage from google cloud storage const gcs new Storage
nodejs
firebase
googlecloudstorage
googlecloudfunctions
无法从 Google Cloud Function 访问存储在 Secrets Manager 中的密钥
在测试我编写的尝试访问存储在 Secret Manager 中的密钥的 Google Cloud Function 时 出现以下错误 Error 7 PERMISSION DENIED Permission secretmanager ve
googlecloudplatform
googlecloudfunctions
googlesecretmanager
在 GCP Cloud Run/Function 上使用固定公共 IP(列入白名单)
我正在寻找将应用部署到 GCP 的最佳方法 该应用程序需要使用微服务 在Cloud Run或Cloud Function上运行 在远程数据库上执行SQL代码 基本上 微服务接收一段 SQL 代码 并需要在远程数据库上执行它 出于安全原因 远
googleappengine
googlecloudplatform
googlecloudfunctions
googlecloudrun
Google Cloud Function 部署失败
我是 Google Cloud Platform 的新手 我正在尝试 Google Cloud Functions 但它显示出非常奇怪的行为 我正在尝试运行以下代码 exports helloPubSub event context gt
googlecloudplatform
googlecloudfunctions
如何在firebase云函数中从通配符获取数据
假设我触发以下事件ref users userId items newItem 我想从通配符内部获取一个值userId 我努力了var token event params userId token但它返回未定义 有什么建议么 在 fire
firebase
firebaserealtimedatabase
googlecloudfunctions
gcp - 在数据库插入时触发云功能?
不知道如何搜索这个 我正在寻找一种在 Cloud SQL 中的数据库中插入新行时触发 Cloud Function 的方法 搜索 google云功能事件 或 触发器 会出现Firebase结果 这不是我想要的 有一系列的云功能可以接收数据并
googlecloudplatform
googlecloudfunctions
Firebase 超时的云功能
获取数据库数据的简单云功能不起作用 getusermessage 不管用 Error 函数执行花费了 60002 毫秒 完成状态为 超时 Index JS 用于获取数据库结果 const functions require firebase
javascript
firebase
firebaserealtimedatabase
googlecloudfunctions
如何在 firebase 存储触发函数中获取公共下载链接:“onFinalize”?
我正在编写一个 firebase 云函数 它将最近上传的文件的下载链接记录到实时数据库 exports recordImage functions storage object onFinalize object gt object 使我可
Firebase 功能无法部署
我正在尝试创建 Firebase 函数 但遇到部署错误 即使在部署默认函数时也是如此helloworld功能 firebase debug log 文件提到了这一点 Could not find image for function pro
nodejs
firebase
googlecloudfunctions
如何判断 onCreate firebase 云函数中的用户是否为“匿名”?
在我的里面onCreatefirebase 处理程序的 auth 云函数 我如何判断用户是否是匿名的 例如这isAnonymous我在客户端获得的财产onAuthStateChanged or onIdTokenChanged回复 expo
Firebase 功能会减慢冷启动时间
I read here端点旋转应该是透明的 我认为这意味着冷启动时间不应与常规执行时间不同 现在还是这样吗 我们的所有端点的冷启动时间都非常慢且无法使用 大约 16 秒 冷启动 Function execution took 16172 m
firebase
googlecloudplatform
googlecloudfunctions
Firebase Cloud Functions:onRequest 和 onCall 之间的区别
浏览文档 我遇到了 您可以直接使用 HTTP 请求或来自客户的电话 source there 引用中的链接 是提到functions https onCall 但在教程中here 另一个函数functions https onRequest
javascript
firebase
googlecloudfunctions
«
1 ...
19
20
21
22
23
24
25
»