batchUpdate 调用如何计入使用限制?
How do batchUpdate calls count towards usage limits?
像 spreadsheets.batchUpdate
和 spreadsheets.values.batchUpdate
这样的调用可以在一次调用中执行多个更新操作。
我在 https://developers.google.com/sheets/api/limits 上阅读了 google 张 api 使用限制,但不清楚这些调用是否算作一个或多个请求。你能解释一下吗?
谢谢
在spreadsheets.batchUpdate
和spreadsheets.values.batchUpdate
,即使在batchUpdate
的一个批量请求中包含多个请求,请求也只使用一个API.
比如batchUpdate
的请求体中包含10个请求,而batchUpdate
的请求体是运行,则只使用一个API。
关于一次batchUpdate的最大请求数,我没研究过。但根据我的经验,当我在一个 batchUpdate 中使用了 100,000 个请求时,我可以确认脚本工作正常。
如果我误解了你的问题,我深表歉意。
像 spreadsheets.batchUpdate
和 spreadsheets.values.batchUpdate
这样的调用可以在一次调用中执行多个更新操作。
我在 https://developers.google.com/sheets/api/limits 上阅读了 google 张 api 使用限制,但不清楚这些调用是否算作一个或多个请求。你能解释一下吗?
谢谢
在spreadsheets.batchUpdate
和spreadsheets.values.batchUpdate
,即使在batchUpdate
的一个批量请求中包含多个请求,请求也只使用一个API.
比如batchUpdate
的请求体中包含10个请求,而batchUpdate
的请求体是运行,则只使用一个API。
关于一次batchUpdate的最大请求数,我没研究过。但根据我的经验,当我在一个 batchUpdate 中使用了 100,000 个请求时,我可以确认脚本工作正常。
如果我误解了你的问题,我深表歉意。