Rename a Google Spreadsheet (the document title, not a tab). Returns the title as displayed after the rename. Waits for the rename to persist server-side before resolving; needs edit rights.
Input
titlerequired
New spreadsheet title
spreadsheetIdrequired
Spreadsheet id or any full docs.google.com spreadsheet URL