class Google::Apis::SheetsV4::KeyValueFormat
Formatting options for key value.
Attributes
position[RW]
Position settings for text. Corresponds to the JSON property `position` @return [Google::Apis::SheetsV4::TextPosition]
text_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 `textFormat` @return [Google::Apis::SheetsV4::TextFormat]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 6458 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 6463 def update!(**args) @position = args[:position] if args.key?(:position) @text_format = args[:text_format] if args.key?(:text_format) end