class Google::Apis::SheetsV4::AppendCellsRequest

Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.

Attributes

fields[RW]

The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single `“*”` can be used as short-hand for listing every field. Corresponds to the JSON property `fields` @return [String]

rows[RW]

The data to append. Corresponds to the JSON property `rows` @return [Array<Google::Apis::SheetsV4::RowData>]

sheet_id[RW]

The sheet ID to append the data to. Corresponds to the JSON property `sheetId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 449
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 454
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @rows = args[:rows] if args.key?(:rows)
  @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
end