googleSheets.updateSheet changes selected sheet properties and returns current metadata.
Example
Inputs
Providespreadsheet and an exact title or numeric sheet ID in sheet. Provide at least one property from Create sheet: title, counts, zero-based index, hidden, or rightToLeft. Second argument { account } selects the Google Account.
Output
Returns currentSheet metadata. Shrinking row or column allocation can discard cells outside the new grid. Google also rejects duplicate titles and invalid frozen counts.