class Google::Apis::DocsV1::TableOfContents

A StructuralElement representing a table of contents.

Attributes

content[RW]

The content of the table of contents. Corresponds to the JSON property `content` @return [Array<Google::Apis::DocsV1::StructuralElement>]

suggested_deletion_ids[RW]

The suggested deletion IDs. If empty, then there are no suggested deletions of this content. Corresponds to the JSON property `suggestedDeletionIds` @return [Array<String>]

suggested_insertion_ids[RW]

The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. Corresponds to the JSON property `suggestedInsertionIds` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 5544
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 5549
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
  @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids)
end