Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
For more information, please visit https://google.com
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: v3
- Package version: v3
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
All URIs are relative to https://www.googleapis.com/drive/v3
Class | Method | HTTP request | Description |
---|---|---|---|
AboutApi | drive_about_get | GET /about | |
ChangesApi | drive_changes_get_start_page_token | GET /changes/startPageToken | |
ChangesApi | drive_changes_list | GET /changes | |
ChangesApi | drive_changes_watch | POST /changes/watch | |
ChannelsApi | drive_channels_stop | POST /channels/stop | |
CommentsApi | drive_comments_create | POST /files/{fileId}/comments | |
CommentsApi | drive_comments_delete | DELETE /files/{fileId}/comments/{commentId} | |
CommentsApi | drive_comments_get | GET /files/{fileId}/comments/{commentId} | |
CommentsApi | drive_comments_list | GET /files/{fileId}/comments | |
CommentsApi | drive_comments_update | PATCH /files/{fileId}/comments/{commentId} | |
DrivesApi | drive_drives_create | POST /drives | |
DrivesApi | drive_drives_delete | DELETE /drives/{driveId} | |
DrivesApi | drive_drives_get | GET /drives/{driveId} | |
DrivesApi | drive_drives_hide | POST /drives/{driveId}/hide | |
DrivesApi | drive_drives_list | GET /drives | |
DrivesApi | drive_drives_unhide | POST /drives/{driveId}/unhide | |
DrivesApi | drive_drives_update | PATCH /drives/{driveId} | |
FilesApi | drive_files_copy | POST /files/{fileId}/copy | |
FilesApi | drive_files_create | POST /files | |
FilesApi | drive_files_delete | DELETE /files/{fileId} | |
FilesApi | drive_files_empty_trash | DELETE /files/trash | |
FilesApi | drive_files_export | GET /files/{fileId}/export | |
FilesApi | drive_files_generate_ids | GET /files/generateIds | |
FilesApi | drive_files_get | GET /files/{fileId} | |
FilesApi | drive_files_list | GET /files | |
FilesApi | drive_files_update | PATCH /files/{fileId} | |
FilesApi | drive_files_watch | POST /files/{fileId}/watch | |
PermissionsApi | drive_permissions_create | POST /files/{fileId}/permissions | |
PermissionsApi | drive_permissions_delete | DELETE /files/{fileId}/permissions/{permissionId} | |
PermissionsApi | drive_permissions_get | GET /files/{fileId}/permissions/{permissionId} | |
PermissionsApi | drive_permissions_list | GET /files/{fileId}/permissions | |
PermissionsApi | drive_permissions_update | PATCH /files/{fileId}/permissions/{permissionId} | |
RepliesApi | drive_replies_create | POST /files/{fileId}/comments/{commentId}/replies | |
RepliesApi | drive_replies_delete | DELETE /files/{fileId}/comments/{commentId}/replies/{replyId} | |
RepliesApi | drive_replies_get | GET /files/{fileId}/comments/{commentId}/replies/{replyId} | |
RepliesApi | drive_replies_list | GET /files/{fileId}/comments/{commentId}/replies | |
RepliesApi | drive_replies_update | PATCH /files/{fileId}/comments/{commentId}/replies/{replyId} | |
RevisionsApi | drive_revisions_delete | DELETE /files/{fileId}/revisions/{revisionId} | |
RevisionsApi | drive_revisions_get | GET /files/{fileId}/revisions/{revisionId} | |
RevisionsApi | drive_revisions_list | GET /files/{fileId}/revisions | |
RevisionsApi | drive_revisions_update | PATCH /files/{fileId}/revisions/{revisionId} | |
TeamdrivesApi | drive_teamdrives_create | POST /teamdrives | |
TeamdrivesApi | drive_teamdrives_delete | DELETE /teamdrives/{teamDriveId} | |
TeamdrivesApi | drive_teamdrives_get | GET /teamdrives/{teamDriveId} | |
TeamdrivesApi | drive_teamdrives_list | GET /teamdrives | |
TeamdrivesApi | drive_teamdrives_update | PATCH /teamdrives/{teamDriveId} |
- About
- AboutDriveThemes
- AboutStorageQuota
- AboutTeamDriveThemes
- Change
- ChangeList
- Channel
- Comment
- CommentList
- CommentQuotedFileContent
- ContentRestriction
- Drive
- DriveBackgroundImageFile
- DriveCapabilities
- DriveList
- DriveRestrictions
- File
- FileCapabilities
- FileContentHints
- FileContentHintsThumbnail
- FileImageMediaMetadata
- FileImageMediaMetadataLocation
- FileLinkShareMetadata
- FileList
- FileShortcutDetails
- FileVideoMediaMetadata
- GeneratedIds
- Permission
- PermissionList
- PermissionPermissionDetails
- PermissionTeamDrivePermissionDetails
- Reply
- ReplyList
- Revision
- RevisionList
- StartPageToken
- TeamDrive
- TeamDriveBackgroundImageFile
- TeamDriveCapabilities
- TeamDriveList
- TeamDriveRestrictions
- User
To get access to the crate's generated documentation, use:
cargo doc --open