class Google::Apis::SheetsV4::ExtendedValue
The kinds of value that a cell in a spreadsheet can have.
Attributes
Represents a boolean value. Corresponds to the JSON property `boolValue` @return [Boolean]
Represents a boolean value. Corresponds to the JSON property `boolValue` @return [Boolean]
An error in a cell. Corresponds to the JSON property `errorValue` @return [Google::Apis::SheetsV4::ErrorValue]
Represents a formula. Corresponds to the JSON property `formulaValue` @return [String]
Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in SERIAL_NUMBER format. Corresponds to the JSON property `numberValue` @return [Float]
Represents a string value. Leading single quotes are not included. For example, if the user typed `'123` into the UI, this would be represented as a ` stringValue` of `“123”`. Corresponds to the JSON property `stringValue` @return [String]
Public Class Methods
# File lib/google/apis/sheets_v4/classes.rb, line 5401 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 5406 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @error_value = args[:error_value] if args.key?(:error_value) @formula_value = args[:formula_value] if args.key?(:formula_value) @number_value = args[:number_value] if args.key?(:number_value) @string_value = args[:string_value] if args.key?(:string_value) end