class Google::Apis::SheetsV4::GridCoordinate

A coordinate in a sheet. All indexes are zero-based.

Attributes

column_index[RW]

The column index of the coordinate. Corresponds to the JSON property `columnIndex` @return [Fixnum]

row_index[RW]

The row index of the coordinate. Corresponds to the JSON property `rowIndex` @return [Fixnum]

sheet_id[RW]

The sheet this coordinate is on. 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 5875
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 5880
def update!(**args)
  @column_index = args[:column_index] if args.key?(:column_index)
  @row_index = args[:row_index] if args.key?(:row_index)
  @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
end