Google Apps Script API
    Preparing search index...

    Access and manipulate script publishing and triggers. This class allows users to create script triggers and control publishing the script as a service.

    interface ScriptApp {
        AuthMode: typeof AuthMode;
        AuthorizationStatus: typeof AuthorizationStatus;
        EventType: typeof GoogleAppsScript.Script.EventType;
        InstallationSource: typeof InstallationSource;
        TriggerSource: typeof TriggerSource;
        WeekDay: typeof Weekday;
        deleteTrigger(trigger: GoogleAppsScript.Script.Trigger): void;
        getAuthorizationInfo(authMode: AuthMode): AuthorizationInfo;
        getIdentityToken(): string;
        getInstallationSource(): InstallationSource;
        getOAuthToken(): string;
        getProjectKey(): string;
        getProjectTriggers(): GoogleAppsScript.Script.Trigger[];
        getScriptId(): string;
        getScriptTriggers(): GoogleAppsScript.Script.Trigger[];
        getService(): GoogleAppsScript.Script.Service;
        getUserTriggers(
            document: GoogleAppsScript.Document.Document,
        ): GoogleAppsScript.Script.Trigger[];
        getUserTriggers(
            form: GoogleAppsScript.Forms.Form,
        ): GoogleAppsScript.Script.Trigger[];
        getUserTriggers(
            spreadsheet: GoogleAppsScript.Spreadsheet.Spreadsheet,
        ): GoogleAppsScript.Script.Trigger[];
        invalidateAuth(): void;
        newStateToken(): StateTokenBuilder;
        newTrigger(functionName: string): TriggerBuilder;
        requireAllScopes(authMode: AuthMode): void;
        requireScopes(authMode: AuthMode, oAuthScopes: string[]): void;
    }
    Index

    Properties

    AuthMode: typeof AuthMode
    AuthorizationStatus: typeof AuthorizationStatus
    InstallationSource: typeof InstallationSource
    TriggerSource: typeof TriggerSource
    WeekDay: typeof Weekday

    Methods