Class: Google::Apis::DocsV1::ListProperties
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::ListProperties
- 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 list which describe the look and feel of bullets belonging to paragraphs associated with a list.
Instance Attribute Summary collapse
-
#nesting_levels ⇒ Array<Google::Apis::DocsV1::NestingLevel>
Describes the properties of the bullets at the associated level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListProperties
constructor
A new instance of ListProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListProperties
Returns a new instance of ListProperties
2191 2192 2193 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nesting_levels ⇒ Array<Google::Apis::DocsV1::NestingLevel>
Describes the properties of the bullets at the associated level.
A list has at most nine levels of nesting with nesting level 0
corresponding to the top-most level and nesting level 8 corresponding to
the most nested level. The nesting levels are returned in ascending order
with the least nested returned first.
Corresponds to the JSON property nestingLevels
2189 2190 2191 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2189 def nesting_levels @nesting_levels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2196 2197 2198 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2196 def update!(**args) @nesting_levels = args[:nesting_levels] if args.key?(:nesting_levels) end |