class Google::Apis::DocsV1::TableCell

The contents and style of a cell in a Table.

Attributes

content[RW]

The content of the cell. Corresponds to the JSON property `content` @return [Array<Google::Apis::DocsV1::StructuralElement>]

end_index[RW]

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

start_index[RW]

The zero-based start index of this cell, 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 TableCell 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_cell_style_changes[RW]

The suggested changes to the table cell style, keyed by suggestion ID. Corresponds to the JSON property `suggestedTableCellStyleChanges` @return [Hash<String,Google::Apis::DocsV1::SuggestedTableCellStyle>]

table_cell_style[RW]

The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style. Corresponds to the JSON property `tableCellStyle` @return [Google::Apis::DocsV1::TableCellStyle]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 5226
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 5231
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @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_cell_style_changes = args[:suggested_table_cell_style_changes] if args.key?(:suggested_table_cell_style_changes)
  @table_cell_style = args[:table_cell_style] if args.key?(:table_cell_style)
end