createTable adds Sheets’ native table structure to an existing grid range.
Example
Inputs
spreadsheet, sheet, unique name, and a non-empty columns array are
required. Column type is unspecified, number, currency, percent,
date, time, dateTime, text, boolean, dropdown, file, person,
finance, place, or rating; only dropdown columns accept and require
options. startRow and startColumn default to 1. rowCount includes the
header, defaults to 2, and must be at least 2. account selects the account.
Output
Returns{ tableId, name, range, columns }. The range is zero-based and
end-exclusive. Columns include zero-based index, name, normalized type,
and dropdown options.