googleDocs.formatText apply text formatting to a document range.
Example
Inputs
Provide a range that starts at index 1 or later and at least one style: colors, bold, italic, underline,strikethrough, font family, font size, or linkUrl. Set linkUrl: null to remove a link. A second argument with account selects a Google Account.