每日Google Apps脚本配额限制如何应用? [英] How does Daily Google Apps Script Quota limit apply?

查看:102
本文介绍了每日Google Apps脚本配额限制如何应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于 Google Apps脚本配额限制,我几乎没有问题:



1)每日限制如何适用 - 每个脚本/每个用户/每个域对于一个容器绑定的脚本?
eg-对于Google Apps Business Edition,UrlFetch总字节数限制为每天100mB -
是否意味着


  • 该域的所有用户将被计入单一限制100mB或限制将适用于每个用户的每个脚本或者限制将适用于每个用户跨该个人用户的所有脚本?



2)如果将脚本部署为已部署的Web App,在用户访问Web应用程序的情况下运行?




  • 域的所有用户将被计入单个100mB限制(任何用户正在使用的其他脚本也将占用100mB的单一限制)或者

    • 每个用户将仅计入他/她自己的此脚本的配额限制吗? OR

    • 任何域的任何用户都访问该脚本,所有使用单元的聚合将与脚本的100MB限制相对照?

    / li>


3)限制何时重置(例如:上午12:00,用户时区或Google帐户主要管理员时区或脚本所有者时区)?

解决方案

<1>每个用户(这里已经有人问过了。 / p>

2)如果您以用户身份运行该脚本,则会针对运行该脚本的用户进行折扣。



3 )不要认为这是公布的。你的代码不应该依赖于此。随着谷歌增加更多数据中心,未来可能会发生变化。


I have few questions regarding Google Apps Script Quota limit:

1) How are the daily limits applicable - per Script/Per User/Per domain for a container bound Script? eg- UrlFetch Total Bytes is limited to 100mB per day for Google Apps Business Edition - Does that mean

  • All users of the domain will be accounted against a single limit of 100mB OR
  • Limit would apply per script per user OR
  • Limit would apply per user across all Scripts of that individual user?

2) How would the daily limit apply if the script is deployed as web App which is deployed to run in the context of user accessing the web App?

  • All users of the domain will be accounted against a single limit of 100mB (any other script the users are using will also account against the single limit of 100mB) OR
    • each user will be accounted against his/her own quota limit for this script only? OR
    • any user of any domain accesses the script, aggregation of all the usage unit would be accounted against the script's limit of 100MB?

3) When does the limits gets reset (eg: 12:00 AM, user time zone or Google Account Primary Admin time zone or Script owner time zone)?

解决方案

1) per user (This has been asked before here. Find the post for more details)

2) Discounted against the users that run the script if you publish it as running as the user.

3) Don't think this is published. Your code shouldn't depend on this. Might change in the future as google adds more datacenters.

这篇关于每日Google Apps脚本配额限制如何应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆