Class: Google::Apis::SlidesV1::TableCellProperties

Inherits:
Object
  • Object
show all
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

The properties of the TableCell.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TableCellProperties

Returns a new instance of TableCellProperties



4058
4059
4060
# File 'generated/google/apis/slides_v1/classes.rb', line 4058

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

Instance Attribute Details

#content_alignmentString

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

Returns:

  • (String)


4051
4052
4053
# File 'generated/google/apis/slides_v1/classes.rb', line 4051

def content_alignment
  @content_alignment
end

#table_cell_background_fillGoogle::Apis::SlidesV1::TableCellBackgroundFill

The table cell background fill. Corresponds to the JSON property tableCellBackgroundFill



4056
4057
4058
# File 'generated/google/apis/slides_v1/classes.rb', line 4056

def table_cell_background_fill
  @table_cell_background_fill
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4063
4064
4065
4066
# File 'generated/google/apis/slides_v1/classes.rb', line 4063

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