Class: Google::Apis::DocsV1::EndOfSegmentLocation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::EndOfSegmentLocation
 
 
- 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
Location at the end of a body, header, footer or footnote. The location is immediately before the last newline in the document segment.
Instance Attribute Summary collapse
- 
  
    
      #segment_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the header, footer or footnote the location is in.
 - 
  
    
      #tab_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The tab that the location is in.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EndOfSegmentLocation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of EndOfSegmentLocation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ EndOfSegmentLocation
Returns a new instance of EndOfSegmentLocation.
      1794 1795 1796  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 1794 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#segment_id ⇒ String
The ID of the header, footer or footnote the location is in. An empty segment
ID signifies the document's body.
Corresponds to the JSON property segmentId
      1782 1783 1784  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 1782 def segment_id @segment_id end  | 
  
#tab_id ⇒ String
The tab that the location is in. When omitted, the request is applied to the
first tab. In a document containing a single tab: - If provided, must match
the singular tab's ID. - If omitted, the request applies to the singular tab.
In a document containing multiple tabs: - If provided, the request applies to
the specified tab. - If omitted, the request applies to the first tab in the
document.
Corresponds to the JSON property tabId
      1792 1793 1794  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 1792 def tab_id @tab_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1799 1800 1801 1802  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 1799 def update!(**args) @segment_id = args[:segment_id] if args.key?(:segment_id) @tab_id = args[:tab_id] if args.key?(:tab_id) end  |