Class: Google::Apis::SlidesV1::MergeTableCellsRequest

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

Overview

Merges cells in a Table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MergeTableCellsRequest

Returns a new instance of MergeTableCellsRequest.



1801
1802
1803
# File 'lib/google/apis/slides_v1/classes.rb', line 1801

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

Instance Attribute Details

#object_id_propString

The object ID of the table. Corresponds to the JSON property objectId

Returns:

  • (String)


1789
1790
1791
# File 'lib/google/apis/slides_v1/classes.rb', line 1789

def object_id_prop
  @object_id_prop
end

#table_rangeGoogle::Apis::SlidesV1::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 location = (0, 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ] Corresponds to the JSON property tableRange



1799
1800
1801
# File 'lib/google/apis/slides_v1/classes.rb', line 1799

def table_range
  @table_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1806
1807
1808
1809
# File 'lib/google/apis/slides_v1/classes.rb', line 1806

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