Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateHeaderRequest

import type { CreateHeaderRequest } from "https://googleapis.deno.dev/v1/docs:v1.ts";

Creates a Header. The new header is applied to the SectionStyle at the location of the SectionBreak if specified, otherwise it is applied to the DocumentStyle. If a header of the specified type already exists, a 400 bad request error is returned.

interface CreateHeaderRequest {
sectionBreakLocation?: Location;
type?: "HEADER_FOOTER_TYPE_UNSPECIFIED" | "DEFAULT";
}

§Properties

§
sectionBreakLocation?: Location
[src]

The location of the SectionBreak which begins the section this header should belong to. If `section_break_location' is unset or if it refers to the first section break in the document body, the header applies to the DocumentStyle

§
type?: "HEADER_FOOTER_TYPE_UNSPECIFIED" | "DEFAULT"
[src]

The type of header to create.