class Google::Apis::DocsV1::InsertSectionBreakRequest

Inserts a section break at the given location. A newline character will be inserted before the section break.

Attributes

end_of_segment_location[RW]

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` @return [Google::Apis::DocsV1::EndOfSegmentLocation]

location[RW]

A particular location in the document. Corresponds to the JSON property `location` @return [Google::Apis::DocsV1::Location]

section_type[RW]

The type of section to insert. Corresponds to the JSON property `sectionType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2200
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 2205
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)
  @section_type = args[:section_type] if args.key?(:section_type)
end