Web应用程序的传入请求是否有配额? [英] Are there quotas for incoming requests to a Web App?
问题描述
我正在运行一个脚本,该脚本通过URL访问来更改Google表格中的行,该脚本已部署为Web应用程序,类似于macroUrl/?sheet=SheetName&key=KeyName&value=ValueName
.
I'm running an script that changes rows in a Google Sheet through URL access, deployed as a Web App, omething like macroUrl/?sheet=SheetName&key=KeyName&value=ValueName
.
这完全可以满足我的需要,但是我不确定对其施加的配额.
This works perfectly for what I need it but I'm unsure on the quotas imposed on it.
我实际上只是在脚本中使用doGet
和doPost
函数将行抓取/推入工作表,但是我预言自己每天可能会访问5万次以上.我不确定如何测试我可以发出的最大请求数,而Google的配额页面还是很令人困惑.
Really all I'm doing is using the doGet
and doPost
functions in the script to grab/push rows to the sheet, however I foresee myself possibly accessing it upwards of 50k times per day. I'm unsure how to test for the max number of requests that I can make and google's quota page is rather confusing.
推荐答案
如果您正在使用电子表格应用程序,则无需担心配额,但是您可能会超出每日脚本总执行时间.请参阅此处以了解更多详细信息: https://developers.google.com/apps -script/guides/services/quotas#current_quotas
if you are using spreadsheetApp then there are no quotas you need to worry, however you may exceed the total daily script execution time. see here for more details: https://developers.google.com/apps-script/guides/services/quotas#current_quotas
urlFetch配额不适用,除非您直接在没有电子表格应用程序的情况下直接调用电子表格api v3/v4.
urlFetch quotas do not apply unless you are making the call to the spreadsheets api v3/v4 directly without spreadsheetApp.
这篇关于Web应用程序的传入请求是否有配额?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!