想要将 webhook 实现改回内联云函数,但它不会坚持

问题描述:

我在 Google Actions Console 中有一个语音对话项目,我最初想指定一个自定义 https 端点,以便触发我在 Firebase Cloud Functions 中创建的一些函数.

I have a voice dialog project in Google Actions Console, and I initially wanted to specify a custom https endpoint, so that I could trigger some functions I have created in Firebase Cloud Functions.

此时,我可以朝那个方向前进,除非我不太清楚要指定什么 url,或者如何准确地创建该端点.

At this point, I can either go in that direction, except I don't quite know what url to specify, or how exactly to create that endpoint.

所以,我想我可以回到更简单的方法,即在操作控制台中使用内联代码编辑器.我按下 Change Fulfillment Method 返回到内联云函数.问题是,这种选择似乎并不坚持".有什么建议?似乎操作控制台不允许我重新使用内联.

So, I thought I could go back to an easier approach, which would be to use the inline code editor, in the Actions Console. I pressed the Change Fulfillment Method to go back to Inline Cloud Functions. The problem is, that choice doesn't seem to "stick". Any suggestions? Seems like the Actions Console won't let me go back to using inline.

好的,至于切换回来,这是关键.我检查了内联函数框,然后更改了我之前的代码中的一些内容.它醒来了,发现有些东西变了,粘性"变了.走了.

Ok, so as far as switching back, that was the key. I checked the inline functions box and then changed something in my code, which I had from before. It woke up, and realized something had changed, and the "stickiness" went away.