Google Apps Script API
    Preparing search index...

    Create and access Google Sites. A rebuilt version of Sites was launched on November 22, 2016. Apps Script cannot currently access or modify Sites made with this version, but script can still access classic Sites.

    interface SitesApp {
        AttachmentType: typeof AttachmentType;
        PageType: typeof GoogleAppsScript.Sites.PageType;
        copySite(
            domain: string,
            name: string,
            title: string,
            summary: string,
            site: GoogleAppsScript.Sites.Site,
        ): GoogleAppsScript.Sites.Site;
        createSite(
            domain: string,
            name: string,
            title: string,
            summary: string,
        ): GoogleAppsScript.Sites.Site;
        getActivePage(): GoogleAppsScript.Sites.Page;
        getActiveSite(): GoogleAppsScript.Sites.Site;
        getAllSites(domain: string): GoogleAppsScript.Sites.Site[];
        getAllSites(
            domain: string,
            start: number,
            max: number,
        ): GoogleAppsScript.Sites.Site[];
        getPageByUrl(url: string): GoogleAppsScript.Sites.Page;
        getSite(name: string): GoogleAppsScript.Sites.Site;
        getSite(domain: string, name: string): GoogleAppsScript.Sites.Site;
        getSiteByUrl(url: string): GoogleAppsScript.Sites.Site;
        getSites(): GoogleAppsScript.Sites.Site[];
        getSites(start: number, max: number): GoogleAppsScript.Sites.Site[];
        getSites(domain: string): GoogleAppsScript.Sites.Site[];
        getSites(
            domain: string,
            start: number,
            max: number,
        ): GoogleAppsScript.Sites.Site[];
    }
    Index

    Properties

    AttachmentType: typeof AttachmentType

    Methods