Class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Update the properties of a TableCell.
Instance Attribute Summary collapse
-
#fields ⇒ String
The fields that should be updated.
-
#object_id_prop ⇒ String
The object ID of the table.
-
#table_cell_properties ⇒ Google::Apis::SlidesV1::TableCellProperties
The properties of the TableCell.
-
#table_range ⇒ Google::Apis::SlidesV1::TableRange
A table range represents a reference to a subset of a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableCellPropertiesRequest
constructor
A new instance of UpdateTableCellPropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateTableCellPropertiesRequest
Returns a new instance of UpdateTableCellPropertiesRequest
4830 4831 4832 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ String
The fields that should be updated.
At least one field must be specified. The root tableCellProperties
is
implied and should not be specified. A single "*"
can be used as
short-hand for listing every field.
For example to update the table cell background solid fill color, set
fields
to "tableCellBackgroundFill.solidFill.color"
.
To reset a property to its default value, include its field name in the
field mask but leave the field itself unset.
Corresponds to the JSON property fields
4803 4804 4805 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4803 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the table.
Corresponds to the JSON property objectId
4808 4809 4810 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4808 def object_id_prop @object_id_prop end |
#table_cell_properties ⇒ Google::Apis::SlidesV1::TableCellProperties
The properties of the TableCell.
Corresponds to the JSON property tableCellProperties
4813 4814 4815 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4813 def table_cell_properties @table_cell_properties end |
#table_range ⇒ Google::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 ]
Corresponds to the JSON property tableRange
4828 4829 4830 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4828 def table_range @table_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4835 4836 4837 4838 4839 4840 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4835 def update!(**args) @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) @table_range = args[:table_range] if args.key?(:table_range) end |