class Google::Apis::SheetsV4::SpreadsheetProperties

Properties of a spreadsheet.

Attributes

auto_recalc[RW]

The amount of time to wait before volatile functions are recalculated. Corresponds to the JSON property `autoRecalc` @return [String]

default_format[RW]

The format of a cell. Corresponds to the JSON property `defaultFormat` @return [Google::Apis::SheetsV4::CellFormat]

iterative_calculation_settings[RW]

Settings to control how circular dependencies are resolved with iterative calculation. Corresponds to the JSON property `iterativeCalculationSettings` @return [Google::Apis::SheetsV4::IterativeCalculationSettings]

locale[RW]

The locale of the spreadsheet in one of the following formats: * an ISO 639-1 language code such as `en` * an ISO 639-2 language code such as `fil`, if no 639-1 code exists * a combination of the ISO language code and country code, such as `en_US` Note: when updating this field, not all locales/languages are supported. Corresponds to the JSON property `locale` @return [String]

spreadsheet_theme[RW]

Represents spreadsheet theme Corresponds to the JSON property `spreadsheetTheme` @return [Google::Apis::SheetsV4::SpreadsheetTheme]

time_zone[RW]

The time zone of the spreadsheet, in CLDR format such as `America/New_York`. If the time zone isn't recognized, this may be a custom time zone such as `GMT- 07:00`. Corresponds to the JSON property `timeZone` @return [String]

title[RW]

The title of the spreadsheet. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 9392
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 9397
def update!(**args)
  @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc)
  @default_format = args[:default_format] if args.key?(:default_format)
  @iterative_calculation_settings = args[:iterative_calculation_settings] if args.key?(:iterative_calculation_settings)
  @locale = args[:locale] if args.key?(:locale)
  @spreadsheet_theme = args[:spreadsheet_theme] if args.key?(:spreadsheet_theme)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
  @title = args[:title] if args.key?(:title)
end