Class: Google::Apis::DocsV1::InsertPageBreakRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::InsertPageBreakRequest
 
 
- 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
Inserts a page break followed by a newline at the specified location.
Instance Attribute Summary collapse
- 
  
    
      #end_of_segment_location  ⇒ Google::Apis::DocsV1::EndOfSegmentLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Location at the end of a body, header, footer or footnote.
 - 
  
    
      #location  ⇒ Google::Apis::DocsV1::Location 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A particular location in the document.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InsertPageBreakRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of InsertPageBreakRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ InsertPageBreakRequest
Returns a new instance of InsertPageBreakRequest.
      2417 2418 2419  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2417 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end_of_segment_location ⇒ Google::Apis::DocsV1::EndOfSegmentLocation
Location at the end of a body, header, footer or footnote. The location is
immediately before the last newline in the document segment.
Corresponds to the JSON property endOfSegmentLocation
      2410 2411 2412  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2410 def end_of_segment_location @end_of_segment_location end  | 
  
#location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Corresponds to the JSON property location
      2415 2416 2417  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2415 def location @location end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2422 2423 2424 2425  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2422 def update!(**args) @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location) @location = args[:location] if args.key?(:location) end  |