googledrive.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Files
copy
files.copy
Copy a file in Google Drive
Risk: write
Output
properties full type
properties full type
appProperties full type
appProperties full type
createFromText
files.createFromText
Create a new Drive file from text content
Risk: write
Output
properties full type
properties full type
appProperties full type
appProperties full type
delete
files.delete
Permanently delete a file [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
Output:
void
download
files.download
Download the content of a file
Risk: read
Output:
any
get
files.get
Get metadata for a specific file
Risk: read
Output
properties full type
properties full type
appProperties full type
appProperties full type
list
files.list
List files in Google Drive
Risk: read
Output
files full type
files full type
move
files.move
Move a file to a different folder
Risk: write
Output
properties full type
properties full type
appProperties full type
appProperties full type
share
files.share
Share a file by granting permissions to users
Risk: write
Output
update
files.update
Update the content or metadata of a file
Risk: write
properties full type
properties full type
appProperties full type
appProperties full type
properties full type
properties full type
appProperties full type
appProperties full type
upload
files.upload
Upload a file to Google Drive
Risk: write
Output
properties full type
properties full type
appProperties full type
appProperties full type
Folders
create
folders.create
Create a new folder
Risk: write
Output
properties full type
properties full type
appProperties full type
appProperties full type
delete
folders.delete
Permanently delete a folder and its contents [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
Output:
void
get
folders.get
Get metadata for a specific folder
Risk: read
Output
properties full type
properties full type
appProperties full type
appProperties full type
list
folders.list
List folders in Google Drive
Risk: read
Output
files full type
files full type
share
folders.share
Share a folder by granting permissions to users
Risk: write
Output
Search
filesAndFolders
search.filesAndFolders
Search for files and folders in Google Drive
Risk: read
Output
files full type
files full type
Shared Drives
create
sharedDrives.create
Create a new shared drive
Risk: write
restrictions full type
restrictions full type
delete
sharedDrives.delete
Permanently delete a shared drive [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
Output:
void
get
sharedDrives.get
Get info about a shared drive
Risk: read
Output
list
sharedDrives.list
List shared drives
Risk: read
Output
drives full type
drives full type
update
sharedDrives.update
Update a shared drive
Risk: write
restrictions full type
restrictions full type
Storage
getQuota
storage.getQuota
Get the user’s Google Drive storage quota and usage
Risk: read