googleDrive.updateFile change a file’s name, description, or starred state.
Example
Inputs
ProvidefileId and at least one of name, description, or starred. 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.
Change a file’s name, description, or starred state.
googleDrive.updateFile change a file’s name, description, or starred state.
import { automation, onDashboardRun } from "automate.ax"
import { googleDrive } from "automate.ax/google-drive"
export default automation("Update file", () => {
onDashboardRun({ title: "Update file" })
googleDrive.updateFile({ fileId: "file-id", starred: true })
})
fileId and at least one of name, description, or starred. A second argument with account selects a Google Account.