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 drive To Watch?: string
readonly drive To Watch?: 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"
readonly event?:
| "folderCreated"
| "folderUpdated"
| "fileUpdated"
| "fileCreated"
| "watchFolderUpdated"
When to trigger this node Default: "fileUpdated"
Source§readonly file To Watch?: { mode: "id" | "list" | "url"; value: string }
readonly file To Watch?: { mode: "id" | "list" | "url"; value: string }
Default: {"mode":"list","value":""}
Source§readonly folder To Watch?: { mode: "id" | "list" | "url"; value: string }
readonly folder To Watch?: { 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";
}
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: {}
Default: "oAuth2"