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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TableColumnProperties

Returns a new instance of TableColumnProperties



4784
4785
4786
# File 'generated/google/apis/docs_v1/classes.rb', line 4784

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



4777
4778
4779
# File 'generated/google/apis/docs_v1/classes.rb', line 4777

def width
  @width
end

#width_typeString

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

Returns:

  • (String)


4782
4783
4784
# File 'generated/google/apis/docs_v1/classes.rb', line 4782

def width_type
  @width_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4789
4790
4791
4792
# File 'generated/google/apis/docs_v1/classes.rb', line 4789

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