Class: Google::Apis::SlidesV1::TableCellProperties
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::TableCellProperties
- 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
The properties of the TableCell.
Instance Attribute Summary collapse
-
#content_alignment ⇒ String
The alignment of the content in the table cell.
-
#table_cell_background_fill ⇒ Google::Apis::SlidesV1::TableCellBackgroundFill
The table cell background fill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableCellProperties
constructor
A new instance of TableCellProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableCellProperties
Returns a new instance of TableCellProperties.
3942 3943 3944 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_alignment ⇒ String
The alignment of the content in the table cell. The default alignment matches
the alignment for newly created table cells in the Slides editor.
Corresponds to the JSON property contentAlignment
3935 3936 3937 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3935 def content_alignment @content_alignment end |
#table_cell_background_fill ⇒ Google::Apis::SlidesV1::TableCellBackgroundFill
The table cell background fill.
Corresponds to the JSON property tableCellBackgroundFill
3940 3941 3942 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3940 def table_cell_background_fill @table_cell_background_fill end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3947 3948 3949 3950 |
# File 'lib/google/apis/slides_v1/classes.rb', line 3947 def update!(**args) @content_alignment = args[:content_alignment] if args.key?(:content_alignment) @table_cell_background_fill = args[:table_cell_background_fill] if args.key?(:table_cell_background_fill) end |