OptionalauthorWho authored this change. Recorded on the commit (ICommit.getAuthor).
OptionalautoIf true or set then this will select the affect item after the transaction is complete.
OptionalcellOptional reference for the formula.
OptionalcommentOptional comment for the named formula.
OptionaldescriptionA human description.
OptionalexpectedOptimistic concurrency guard. If set, the operation only begins if the store's current commit id matches; otherwise a TransactionConflictError is thrown.
Required. The formula expression string, e.g. "=SUM(A:A)".
OptionalhiddenIf true the named formula is not visible in the UI.
Required. The name that identifies this formula in expressions.
OptionalreadDeclares the operation read-only: any state update within it throws.
Writes are tracked automatically — a batch that performs no updates never creates a commit (no new commit id, no events, no undo entry) whether or not this is set. The flag is purely an assertion for callers that want the guarantee enforced. Nested transactions inherit it; they cannot opt back out.
OptionalreplaceIf true, redefine an existing name in the same scope instead of throwing.
OptionalscopeA string identifying the scope. This is normally a sheet name.
Options for adding a named formula to the collection.