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
3952 3953 3954 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3952 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
3938 3939 3940 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3938 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
3944 3945 3946 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3944 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
3950 3951 3952 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3950 def content_direction @content_direction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3957 3958 3959 3960 3961 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3957 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 |