Class: Google::Apis::DocsV1::TableRowStyle
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::TableRowStyle
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
Styles that apply to a table row.
Instance Attribute Summary collapse
-
#min_row_height ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
-
#prevent_overflow ⇒ Boolean
(also: #prevent_overflow?)
Whether the row cannot overflow across page or column boundaries.
-
#table_header ⇒ Boolean
(also: #table_header?)
Whether the row is a table header.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableRowStyle
constructor
A new instance of TableRowStyle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableRowStyle
Returns a new instance of TableRowStyle.
5722 5723 5724 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#min_row_height ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property minRowHeight
5708 5709 5710 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5708 def min_row_height @min_row_height end |
#prevent_overflow ⇒ Boolean Also known as: prevent_overflow?
Whether the row cannot overflow across page or column boundaries.
Corresponds to the JSON property preventOverflow
5713 5714 5715 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5713 def prevent_overflow @prevent_overflow end |
#table_header ⇒ Boolean Also known as: table_header?
Whether the row is a table header.
Corresponds to the JSON property tableHeader
5719 5720 5721 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5719 def table_header @table_header end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5727 5728 5729 5730 5731 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5727 def update!(**args) @min_row_height = args[:min_row_height] if args.key?(:min_row_height) @prevent_overflow = args[:prevent_overflow] if args.key?(:prevent_overflow) @table_header = args[:table_header] if args.key?(:table_header) end |