Overview
The Google Drive API allows you to manage files, folders, shared drives, permissions, and more. This service provides programmatic access to Google Drive’s file storage and collaboration features. API Name:driveVersion:
v3Official Documentation: Google Drive API Reference
Common Resources
Files
Manage files and folders in Google Drive.The ID of the file or folder
Search query to filter files (e.g.,
"name contains 'report'")Maximum number of files to return per page (default: 100, max: 1000)
Specify which fields to return (e.g.,
"files(id,name,mimeType)")Permissions
Manage sharing permissions for files and folders.The ID of the file to share
The type of permission:
user, group, domain, or anyoneThe role:
owner, organizer, fileOrganizer, writer, commenter, or readerDrives (Shared Drives)
Manage shared drives for team collaboration.The ID of the shared drive
Common Methods
List Files
Get File Metadata
Create a Folder
Upload a File
Share a File
Search Files
Response Format
All responses are returned as JSON:Related Helper Commands
+upload- Upload files with automatic metadata (see gws-drive-upload)
Key Resources
files- Create, read, update, delete files and folderspermissions- Manage sharing permissionsdrives- Manage shared drivescomments- Add and manage commentsrevisions- Access file revision historychanges- Track changes to files