Class: Google::Apis::DocsV1::Tab
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::Tab
 
 
- 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 tab in a document.
Instance Attribute Summary collapse
- 
  
    
      #child_tabs  ⇒ Array<Google::Apis::DocsV1::Tab> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The child tabs nested within this tab.
 - 
  
    
      #document_tab  ⇒ Google::Apis::DocsV1::DocumentTab 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A tab with document contents.
 - 
  
    
      #tab_properties  ⇒ Google::Apis::DocsV1::TabProperties 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Properties of a tab.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Tab 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Tab.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Tab
Returns a new instance of Tab.
      5513 5514 5515  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5513 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#child_tabs ⇒ Array<Google::Apis::DocsV1::Tab>
The child tabs nested within this tab.
Corresponds to the JSON property childTabs
      5501 5502 5503  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5501 def child_tabs @child_tabs end  | 
  
#document_tab ⇒ Google::Apis::DocsV1::DocumentTab
A tab with document contents.
Corresponds to the JSON property documentTab
      5506 5507 5508  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5506 def document_tab @document_tab end  | 
  
#tab_properties ⇒ Google::Apis::DocsV1::TabProperties
Properties of a tab.
Corresponds to the JSON property tabProperties
      5511 5512 5513  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5511 def tab_properties @tab_properties end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5518 5519 5520 5521 5522  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5518 def update!(**args) @child_tabs = args[:child_tabs] if args.key?(:child_tabs) @document_tab = args[:document_tab] if args.key?(:document_tab) @tab_properties = args[:tab_properties] if args.key?(:tab_properties) end  |