class Google::Apis::DocsV1::TableRow

The contents and style of a row in a Table.

Attributes

end_index[RW]

The zero-based end index of this row, exclusive, in UTF-16 code units. Corresponds to the JSON property `endIndex` @return [Fixnum]

start_index[RW]

The zero-based start index of this row, in UTF-16 code units. Corresponds to the JSON property `startIndex` @return [Fixnum]

suggested_deletion_ids[RW]

The suggested deletion IDs. If empty, then there are no suggested deletions of this content. Corresponds to the JSON property `suggestedDeletionIds` @return [Array<String>]

suggested_insertion_ids[RW]

The suggested insertion IDs. A TableRow may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. Corresponds to the JSON property `suggestedInsertionIds` @return [Array<String>]

suggested_table_row_style_changes[RW]

The suggested style changes to this row, keyed by suggestion ID. Corresponds to the JSON property `suggestedTableRowStyleChanges` @return [Hash<String,Google::Apis::DocsV1::SuggestedTableRowStyle>]

table_cells[RW]

The contents and style of each cell in this row. It is possible for a table to be non-rectangular, so some rows may have a different number of cells than other rows in the same table. Corresponds to the JSON property `tableCells` @return [Array<Google::Apis::DocsV1::TableCell>]

table_row_style[RW]

Styles that apply to a table row. Corresponds to the JSON property `tableRowStyle` @return [Google::Apis::DocsV1::TableRowStyle]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 5635
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 5640
def update!(**args)
  @end_index = args[:end_index] if args.key?(:end_index)
  @start_index = args[:start_index] if args.key?(:start_index)
  @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
  @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids)
  @suggested_table_row_style_changes = args[:suggested_table_row_style_changes] if args.key?(:suggested_table_row_style_changes)
  @table_cells = args[:table_cells] if args.key?(:table_cells)
  @table_row_style = args[:table_row_style] if args.key?(:table_row_style)
end