class Google::Apis::SheetsV4::AddSheetRequest
Adds a new sheet. When a sheet is added at a given index, all subsequent sheets' indexes are incremented. To add an object sheet, use AddChartRequest
instead and specify EmbeddedObjectPosition.sheetId or EmbeddedObjectPosition
. newSheet.
Attributes
properties[RW]
Properties of a sheet. Corresponds to the JSON property `properties` @return [Google::Apis::SheetsV4::SheetProperties]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 360 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 365 def update!(**args) @properties = args[:properties] if args.key?(:properties) end