Class: Google::Apis::DocsV1::UnmergeTableCellsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

Unmerges cells in a Table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UnmergeTableCellsRequest

Returns a new instance of UnmergeTableCellsRequest.



5767
5768
5769
# File 'generated/google/apis/docs_v1/classes.rb', line 5767

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#table_rangeGoogle::Apis::DocsV1::TableRange

A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this: [ ] A table range with table cell location = (table_start_location, row = 0, column = 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ] Corresponds to the JSON property tableRange



5765
5766
5767
# File 'generated/google/apis/docs_v1/classes.rb', line 5765

def table_range
  @table_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5772
5773
5774
# File 'generated/google/apis/docs_v1/classes.rb', line 5772

def update!(**args)
  @table_range = args[:table_range] if args.key?(:table_range)
end