Class: Google::Apis::DocsV1::SectionStyle
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::SectionStyle
- 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 styling that applies to a section.
Instance Attribute Summary collapse
-
#column_properties ⇒ Array<Google::Apis::DocsV1::SectionColumnProperties>
The section's columns properties.
-
#column_separator_style ⇒ String
The style of column separators.
-
#content_direction ⇒ String
The content direction of this section.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SectionStyle
constructor
A new instance of SectionStyle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SectionStyle
Returns a new instance of SectionStyle
3809 3810 3811 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3809 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_properties ⇒ Array<Google::Apis::DocsV1::SectionColumnProperties>
The section's columns properties.
If empty, the section contains one column with the default properties in
the Docs editor.
Corresponds to the JSON property columnProperties
3795 3796 3797 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3795 def column_properties @column_properties end |
#column_separator_style ⇒ String
The style of column separators.
This style can be set even when there is one column in the section.
Corresponds to the JSON property columnSeparatorStyle
3801 3802 3803 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3801 def column_separator_style @column_separator_style end |
#content_direction ⇒ String
The content direction of this section. If unset, the value defaults to
LEFT_TO_RIGHT.
Corresponds to the JSON property contentDirection
3807 3808 3809 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3807 def content_direction @content_direction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3814 3815 3816 3817 3818 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3814 def update!(**args) @column_properties = args[:column_properties] if args.key?(:column_properties) @column_separator_style = args[:column_separator_style] if args.key?(:column_separator_style) @content_direction = args[:content_direction] if args.key?(:content_direction) end |