GoogleApi.Docs.V1.Model.InsertSectionBreakRequest (google_api_docs v0.18.0)

View Source

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

Attributes

  • endOfSegmentLocation (type: GoogleApi.Docs.V1.Model.EndOfSegmentLocation.t, default: nil) - Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be inserted inside the body, the segment ID field must be empty.
  • location (type: GoogleApi.Docs.V1.Model.Location.t, default: nil) - Inserts a newline and a section break at a specific index in the document. The section break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Section breaks cannot be inserted inside a table, equation, footnote, header, or footer. Since section breaks can only be inserted inside the body, the segment ID field must be empty.
  • sectionType (type: String.t, default: nil) - The type of section to insert.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Docs.V1.Model.InsertSectionBreakRequest{
  endOfSegmentLocation: GoogleApi.Docs.V1.Model.EndOfSegmentLocation.t() | nil,
  location: GoogleApi.Docs.V1.Model.Location.t() | nil,
  sectionType: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.