We are evaluating a one-time schema change using spreadsheets.batchUpdate v4. This is a design clarification, not a report of an existing failed production request. No production reproduction has been run.
Our safety requirement is to avoid sending a second mutation while an earlier invocation could still commit. Please identify the supported guarantees for these cases separately: client connection loss or client deadline, a server-generated processing timeout, and HTTP 5xx returned by the service or an intermediary.
Does the documented 180-second processing limit guarantee that no mutation can commit after a terminal server timeout response? What is the exact documented boundary, and does it also cover a lost response or client deadline?
Is there a supported request identifier and query mechanism that returns the final outcome of a specific ordinary batchUpdate, or a cancellation/drain acknowledgement that guarantees it can no longer apply? If so, please provide its documented contract and retention limits.
Does this method support server-side idempotency or deduplication across repeated HTTP submissions? Please specify the key, scope, retention, concurrency behavior and payload mismatch behavior, if supported.
If none of these mechanisms exists, what supported recovery procedure distinguishes NOT_APPLIED_AND_CANNOT_APPLY_LATER from merely NOT_VISIBLE_AT_READ_TIME?
Please explicitly distinguish ordinary sheet/grid updates from data-source refresh cancellation. We are not using Connected Sheets refresh operations.
A general exponential-backoff recommendation does not resolve our uncertainty about the previous attempt. We would appreciate an authoritative reference and a description of the evidence an application can retain for the individual attempt. We can provide an anonymized exact request shape if required; there are no incident timestamps or failed request IDs to report.
This is a very clear breakdown of the uncertainty. I think the key point is distinguishing a client-side timeout or lost response from a server-side guarantee that the mutation can no longer commit.
It would be especially useful to have an authoritative statement on whether spreadsheets.batchUpdate provides any request-level idempotency key, final-outcome lookup, or cancellation/drain mechanism. Without one, simply retrying after a timeout could potentially create exactly the duplicate-mutation scenario you’re trying to avoid.
The distinction between ordinary grid mutations and Connected Sheets refresh operations is also important. Hopefully someone from the API team can clarify the exact guarantees and what evidence an application can safely rely on for an individual request.