class Google::Apis::SheetsV4::TextFormatRun
A run of a text format. The format of this run continues until the start index of the next run. When updating, all fields must be set.
Attributes
format[RW]
The format of a run of text in a cell. Absent values indicate that the field isn't specified. Corresponds to the JSON property `format` @return [Google::Apis::SheetsV4::TextFormat]
start_index[RW]
The character index where this run starts. Corresponds to the JSON property `startIndex` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 9566 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 9571 def update!(**args) @format = args[:format] if args.key?(:format) @start_index = args[:start_index] if args.key?(:start_index) end