Class: Google::Apis::DocsV1::TableColumnProperties

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

The properties of a column in a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TableColumnProperties

Returns a new instance of TableColumnProperties.



5974
5975
5976
# File 'lib/google/apis/docs_v1/classes.rb', line 5974

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

Instance Attribute Details

#widthGoogle::Apis::DocsV1::Dimension

A magnitude in a single direction in the specified units. Corresponds to the JSON property width



5967
5968
5969
# File 'lib/google/apis/docs_v1/classes.rb', line 5967

def width
  @width
end

#width_typeString

The width type of the column. Corresponds to the JSON property widthType

Returns:

  • (String)


5972
5973
5974
# File 'lib/google/apis/docs_v1/classes.rb', line 5972

def width_type
  @width_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5979
5980
5981
5982
# File 'lib/google/apis/docs_v1/classes.rb', line 5979

def update!(**args)
  @width = args[:width] if args.key?(:width)
  @width_type = args[:width_type] if args.key?(:width_type)
end