HTTP quota: Read headers ·
Polling: Bounded duration ·
Call capacity: Separate limit
The important part
-
Call capacity is shared.
max_concurrentapplies across the account’s numbers. A number cannot reserve slots. Pace outbound work per customer in your app when several customers share the account. - Honour Retry-After for a safe read and stop at an application deadline.
- HTTP request quotas, call capacity and feature limits are different.
- A throttle does not grant permission to repeat an uncertain write.
Read the current allowance
Use the allowance returned for the authenticated account key. Do not hard-code a requests-per-minute figure from another account.
An authenticated request above its allowance returns 429
rate_limit_exceeded. Its details include limit and retry_after_seconds. Invalid credentials can be refused before these headers are added; missing headers are not evidence of an unlimited allowance.
Bound a read-retry policy
Choose a maximum elapsed time and attempt count for the task. For example, an interactive usage read might allow three attempts within 30 seconds; these are application choices, not server limits.- Set a timeout on each read, limited by the remaining overall budget.
- On a retryable read failure, use the returned wait guidance. Add a small random delay so workers do not all retry together.
- If the required wait would exceed the remaining budget, stop and report that the read is unavailable. Do not shorten
Retry-Afterto fit another attempt. - On success, validate the response and preserve null or unavailable fields. A malformed response is not an empty successful result.
- Stop on authentication, permission or unchanged validation errors. Correct their cause before another request.
Keep business limits separate
More HTTP capacity does not remove the other limits. Account signup has a separate limit and is not a connectivity test.