Class: Google::Apis::DocsV1::TableOfContents
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::TableOfContents
 
 
- 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
A StructuralElement representing a table of contents.
Instance Attribute Summary collapse
- 
  
    
      #content  ⇒ Array<Google::Apis::DocsV1::StructuralElement> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The content of the table of contents.
 - 
  
    
      #suggested_deletion_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested deletion IDs.
 - 
  
    
      #suggested_insertion_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested insertion IDs.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TableOfContents 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TableOfContents.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TableOfContents
Returns a new instance of TableOfContents.
      6007 6008 6009  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6007 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#content ⇒ Array<Google::Apis::DocsV1::StructuralElement>
The content of the table of contents.
Corresponds to the JSON property content
      5992 5993 5994  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5992 def content @content end  | 
  
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs. If empty, then there are no suggested deletions of
this content.
Corresponds to the JSON property suggestedDeletionIds
      5998 5999 6000  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5998 def suggested_deletion_ids @suggested_deletion_ids end  | 
  
#suggested_insertion_ids ⇒ Array<String>
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
      6005 6006 6007  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6005 def suggested_insertion_ids @suggested_insertion_ids end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6012 6013 6014 6015 6016  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6012 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  |