Interface GoogleDriveTriggerNodeParameters

Source
interface GoogleDriveTriggerNodeParameters {
    authentication?: "oAuth2" | "serviceAccount";
    driveToWatch?: string;
    event?:
        | "folderCreated"
        | "folderUpdated"
        | "fileUpdated"
        | "fileCreated"
        | "watchFolderUpdated";
    fileToWatch?: {
        mode: "id"
        | "list"
        | "url";
        value: string;
    };
    folderToWatch?: {
        mode: "id"
        | "list"
        | "url";
        value: string;
    };
    options?: {
        fileType?: | "all"
        | "application/vnd.google-apps.audio"
        | "application/vnd.google-apps.document"
        | "application/vnd.google-apps.drawing"
        | "application/vnd.google-apps.presentation"
        | "application/vnd.google-apps.spreadsheet"
        | "application/vnd.google-apps.photo"
        | "application/vnd.google-apps.video";
    };
    pollTimes: {
        item: { mode: string & {}
        | "everyMinute" }[];
    };
    triggerOn?: "specificFile"
    | "specificFolder";
}

Properties§

Source§

readonly authentication?: "oAuth2" | "serviceAccount"

Default: "oAuth2"

Source§

readonly driveToWatch?: string

The drive to monitor. Choose from the list, or specify an ID using an expression. Default: "root" Type options: {"loadOptionsMethod":"getDrives"}

Source§

readonly event?:
    | "folderCreated"
    | "folderUpdated"
    | "fileUpdated"
    | "fileCreated"
    | "watchFolderUpdated"

When to trigger this node Default: "fileUpdated"

Source§

readonly fileToWatch?: { mode: "id" | "list" | "url"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly folderToWatch?: { mode: "id" | "list" | "url"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly options?: {
    fileType?:
        | "all"
        | "application/vnd.google-apps.audio"
        | "application/vnd.google-apps.document"
        | "application/vnd.google-apps.drawing"
        | "application/vnd.google-apps.presentation"
        | "application/vnd.google-apps.spreadsheet"
        | "application/vnd.google-apps.photo"
        | "application/vnd.google-apps.video";
}

Default: {}

Source§

readonly pollTimes: { item: { mode: string & {} | "everyMinute" }[] }

Source§

readonly triggerOn?: "specificFile" | "specificFolder"