DriveApi class

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

Constructors

DriveApi(Client client, {String rootUrl: "https://www.googleapis.com/", String servicePath: "drive/v2/"})

Properties

about AboutResourceApi
read-only
apps AppsResourceApi
read-only
changes ChangesResourceApi
read-only
channels ChannelsResourceApi
read-only
children ChildrenResourceApi
read-only
comments CommentsResourceApi
read-only
drives DrivesResourceApi
read-only
files FilesResourceApi
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
parents ParentsResourceApi
read-only
permissions PermissionsResourceApi
read-only
properties PropertiesResourceApi
read-only
replies RepliesResourceApi
read-only
revisions RevisionsResourceApi
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
teamdrives TeamdrivesResourceApi
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

DriveAppdataScope → const String
View and manage its own configuration data in your Google Drive
"https://www.googleapis.com/auth/drive.appdata"
DriveAppsReadonlyScope → const String
View your Google Drive apps
"https://www.googleapis.com/auth/drive.apps.readonly"
DriveFileScope → const String
View and manage Google Drive files and folders that you have opened or created with this app
"https://www.googleapis.com/auth/drive.file"
DriveMetadataReadonlyScope → const String
View metadata for files in your Google Drive
"https://www.googleapis.com/auth/drive.metadata.readonly"
DriveMetadataScope → const String
View and manage metadata of files in your Google Drive
"https://www.googleapis.com/auth/drive.metadata"
DrivePhotosReadonlyScope → const String
View the photos, videos and albums in your Google Photos
"https://www.googleapis.com/auth/drive.photos.readonly"
DriveReadonlyScope → const String
See and download all your Google Drive files
"https://www.googleapis.com/auth/drive.readonly"
DriveScope → const String
See, edit, create, and delete all of your Google Drive files
"https://www.googleapis.com/auth/drive"
DriveScriptsScope → const String
Modify your Google Apps Script scripts' behavior
"https://www.googleapis.com/auth/drive.scripts"