googleapis.drive.v2 library

Classes

About
An item with user information and settings.
AboutAdditionalRoleInfo
AboutAdditionalRoleInfoRoleSets
AboutDriveThemes
AboutExportFormats
AboutFeatures
AboutImportFormats
AboutMaxUploadSizes
AboutQuotaBytesByService
AboutResourceApi
AboutTeamDriveThemes
App
The apps resource provides a list of the apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.
AppIcons
AppList
A list of third-party applications which the user has installed or given access to Google Drive.
AppsResourceApi
ByteRange
Specifies a range of media.
Change
Representation of a change to a file or shared drive.
ChangeList
A list of changes for a user.
ChangesResourceApi
Channel
An notification channel used to watch for resource changes.
ChannelsResourceApi
ChildList
A list of children of a file.
ChildReference
A reference to a folder's child.
ChildrenResourceApi
Comment
A comment on a file in Google Drive.
CommentContext
The context of the file which is being commented on.
CommentList
A list of comments on a file in Google Drive.
CommentReply
A comment on a file in Google Drive.
CommentReplyList
A list of replies to a comment on a file in Google Drive.
CommentsResourceApi
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. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be 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.
DrivesResourceApi
File
The metadata for a file.
FileCapabilities
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
FileImageMediaMetadata
Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
FileImageMediaMetadataLocation
Geographic location information stored in the image.
FileIndexableText
Indexable text attributes for the file (can only be written)
FileLabels
A group of labels for the file.
FileList
A list of files.
FilesResourceApi
FileThumbnail
A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.
FileVideoMediaMetadata
Metadata about video media. This will only be present for video types.
GeneratedIds
A list of generated IDs which can be provided in insert requests
Media
Represents a media consisting of a stream of bytes, a content type and a length.
ParentList
A list of a file's parents.
ParentReference
A reference to a file's parent.
ParentsResourceApi
PartialDownloadOptions
Options for downloading a Media.
Permission
A permission for a file.
PermissionId
An ID for a user or group as seen in Permission items.
PermissionList
A list of permissions associated with a file.
PermissionPermissionDetails
PermissionsResourceApi
PermissionTeamDrivePermissionDetails
PropertiesResourceApi
Property
A key-value pair attached to a file that is either public or private to an application. The following limits apply to file properties: [...]
PropertyList
A collection of properties, key-value pairs that are either public or private to an application.
RealtimeResourceApi
RepliesResourceApi
ResumableUploadOptions
Specifies options for resumable uploads.
Revision
A revision of a file.
RevisionList
A list of revisions of a file.
RevisionsResourceApi
StartPageToken
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. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be 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.
TeamdrivesResourceApi
UploadOptions
Represents options for uploading a Media.
User
Information about a Drive user.
UserPicture
The user's profile picture.

Constants

USER_AGENT → const String
'dart-api-client drive/v2'

Exceptions / Errors

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