Class: Google::Apis::DocsV1::TableColumnProperties
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::TableColumnProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
The properties of a column in a table.
Instance Attribute Summary collapse
-
#width ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
-
#width_type ⇒ String
The width type of the column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableColumnProperties
constructor
A new instance of TableColumnProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TableColumnProperties
Returns a new instance of TableColumnProperties.
5563 5564 5565 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#width ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property width
5556 5557 5558 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5556 def width @width end |
#width_type ⇒ String
The width type of the column.
Corresponds to the JSON property widthType
5561 5562 5563 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5561 def width_type @width_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5568 5569 5570 5571 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5568 def update!(**args) @width = args[:width] if args.key?(:width) @width_type = args[:width_type] if args.key?(:width_type) end |