我创建了一个简单的python函数,只包含一个print(“triggered”),并使用以下命令部署:
gcloud functions deploy hello_world --runtime python37 --trigger-event providers/cloud.firestore/eventTypes/document.create --trigger-resource projects/my-project-name/databases/default/documents/testing/{testId}
也尝试过与供应商/cloud.firestore/eventTypes/document文件。写入
但是,当我在/testing/中创建一个新文档时,该函数根本不会触发。你知道吗
我试过用firebase存储触发器,它能工作。你知道吗
有虫子什么的吗?还是我被窃听了?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐