如何解决无效清单:未知字段:[addOns.enableHttpEndpoints]
我正在尝试使用 google 工作区备用运行时,这需要清单中的键 enableHttpEndpoints
才能在尝试使用该键保存时使用它给我错误。
以下是我的清单:
{
"timeZone": "America/New_York","dependencies": {
},"exceptionLogging": "STACKDRIVER","oauthScopes": ["https://www.googleapis.com/auth/gmail.addons.execute","https://www.googleapis.com/auth/gmail.Metadata"],"runtimeVersion": "V8","addOns": {
"enableHttpEndpoints": true,"common": {
"name": "My HTTP Add-on","logoUrl": "https://fonts.gstatic.com/s/i/googlematerialicons/markunread_mailBox/v6/black-24dp/1x/gm_markunread_mailBox_black_24dp.png","homepageTrigger": {
"runFunction": "https://us-central1-test-http-runtime.cloudfunctions.net/HttpAddOn/exampleWidgets"
}
},"gmail": {
"contextualTriggers": [{
"unconditional": {
},"onTriggerFunction": "https://us-central1-test-http-runtime.cloudfunctions.net/GmailExample/simpleMessageInfo"
}]
}
}
}
以及它给出的错误:
无效清单:未知字段:[addOns.enableHttpEndpoints]
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。