Class: Google::Apis::DocsV1::ListProperties

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 list which describe the look and feel of bullets belonging to paragraphs associated with a list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListProperties

Returns a new instance of ListProperties.



2472
2473
2474
# File 'generated/google/apis/docs_v1/classes.rb', line 2472

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

Instance Attribute Details

#nesting_levelsArray<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



2470
2471
2472
# File 'generated/google/apis/docs_v1/classes.rb', line 2470

def nesting_levels
  @nesting_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2477
2478
2479
# File 'generated/google/apis/docs_v1/classes.rb', line 2477

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