googleDrive.restoreFile restore a Drive file from the trash.
Example
Inputs
ProvidefileId. A second argument with account selects a Google Account.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Restore a Drive file from the trash.
googleDrive.restoreFile restore a Drive file from the trash.
import { automation, onDashboardRun } from "automate.ax"
import { googleDrive } from "automate.ax/google-drive"
export default automation("Restore file", () => {
onDashboardRun({ title: "Restore file" })
googleDrive.restoreFile({ fileId: "file-id" })
})
fileId. A second argument with account selects a Google Account.