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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb

Overview

The properties of a list that 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.



2753
2754
2755
# File 'lib/google/apis/docs_v1/classes.rb', line 2753

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 9 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



2751
2752
2753
# File 'lib/google/apis/docs_v1/classes.rb', line 2751

def nesting_levels
  @nesting_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2758
2759
2760
# File 'lib/google/apis/docs_v1/classes.rb', line 2758

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