formatRange changes only the format properties you provide across a structured
grid range.
Example
Inputs
spreadsheet and structured one-based range are required. Provide at least
one of six-digit backgroundColor/textColor, bold, italic,
strikethrough, horizontal (left, center, right) or vertical (top,
middle, bottom) alignment, wrap (overflow, clip, wrap), or
numberFormat. Number types are text, number, percent, currency,
date, time, dateTime, or scientific, with an optional Sheets pattern.
account optionally selects the Google account binding.
Output
Returns the resolved zero-based, end-exclusive grid range with numericsheetId. Existing unspecified formatting remains unchanged.