drive.v3 library Null safety

Drive API - v3

Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.

For more information, see developers.google.com/drive/

Create an instance of DriveApi to access these resources:

Classes

About
Information about the user, the user's Drive, and system capabilities.
AboutDriveThemes
AboutResource
AboutStorageQuota
The user's storage quota limits and usage. [...]
AboutTeamDriveThemes
ByteRange
Specifies a range of media.
Change
A change to a file or shared drive.
ChangeList
A list of changes for a user.
ChangesResource
ChannelsResource
Comment
A comment on a file.
CommentList
A list of comments on a file.
CommentQuotedFileContent
The file content to which the comment refers, typically within the anchor region. [...]
CommentsResource
ContentRestriction
A restriction for accessing the content of the file.
DownloadOptions
Represents options for downloading media. [...]
Drive
Representation of a shared drive.
DriveApi
Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
DriveBackgroundImageFile
An image file and cropping parameters from which a background image for this shared drive is set. [...]
DriveCapabilities
Capabilities the current user has on this shared drive.
DriveList
A list of shared drives.
DriveRestrictions
A set of restrictions that apply to this shared drive or items inside this shared drive.
DrivesResource
File
The metadata for a file.
FileCapabilities
Capabilities the current user has on this file. [...]
FileContentHints
Additional information about the content of the file. [...]
FileContentHintsThumbnail
A thumbnail for the file. [...]
FileImageMediaMetadata
Additional metadata about image media, if available.
FileImageMediaMetadataLocation
Geographic location information stored in the image.
FileLinkShareMetadata
Contains details about the link URLs that clients are using to refer to this item.
FileList
A list of files.
FileShortcutDetails
Shortcut file details. [...]
FilesResource
FileVideoMediaMetadata
Additional metadata about video media. [...]
GeneratedIds
A list of generated file IDs which can be provided in create requests.
Media
Represents a media consisting of a stream of bytes, a content type and a length.
PartialDownloadOptions
Options for downloading a Media.
Permission
A permission for a file. [...]
PermissionList
A list of permissions for a file.
PermissionPermissionDetails
PermissionsResource
PermissionTeamDrivePermissionDetails
RepliesResource
Reply
A reply to a comment on a file.
ReplyList
A list of replies to a comment on a file.
ResumableUploadOptions
Specifies options for resumable uploads.
Revision
The metadata for a revision to a file.
RevisionList
A list of revisions of a file.
RevisionsResource
TeamDrive
Deprecated: use the drive collection instead.
TeamDriveBackgroundImageFile
An image file and cropping parameters from which a background image for this Team Drive is set. [...]
TeamDriveCapabilities
Capabilities the current user has on this Team Drive.
TeamDriveList
A list of Team Drives.
TeamDriveRestrictions
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
TeamdrivesResource
UploadOptions
Represents options for uploading a Media.
User
Information about a Drive user.

Typedefs

Channel = $Channel
An notification channel used to watch for resource changes.
StartPageToken = $StartPageToken

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.