class Google::Apis::DocsV1::Table
A StructuralElement
representing a table.
Attributes
Number of columns in the table. It is possible for a table to be non- rectangular, so some rows may have a different number of cells. Corresponds to the JSON property `columns` @return [Fixnum]
Number of rows in the table. Corresponds to the JSON property `rows` @return [Fixnum]
The suggested deletion IDs. If empty, then there are no suggested deletions of this content. Corresponds to the JSON property `suggestedDeletionIds` @return [Array<String>]
The suggested insertion IDs. A Table
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>]
The contents and style of each row. Corresponds to the JSON property `tableRows` @return [Array<Google::Apis::DocsV1::TableRow>]
Styles that apply to a table. Corresponds to the JSON property `tableStyle` @return [Google::Apis::DocsV1::TableStyle]
Public Class Methods
# File lib/google/apis/docs_v1/classes.rb, line 5169 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 5174 def update!(**args) @columns = args[:columns] if args.key?(:columns) @rows = args[:rows] if args.key?(:rows) @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) @table_rows = args[:table_rows] if args.key?(:table_rows) @table_style = args[:table_style] if args.key?(:table_style) end