IGoogleDrive Methods |
The IGoogleDrive type exposes the following members.
Name | Description | |
---|---|---|
CreateFile |
Creates a file owned by the person the API is impersonating. The file gets shared with emails specified for the service.
| |
CreateFileFromTemplate |
Creates a file owned by the person the API is impersonating from a template inside Google Drive.
The file gets shared with emails specified for the service.
| |
CreateFolder |
Creates a folder owned by the person the API is impersonating.
| |
Delete |
Permanently deletes a file or folder that belongs to the Service Account user without moving to the trash.
If it's a folder, all files and folders inside it will be deleted too.
If the file or folder does not belong to the Service Account user, must transfer ownership through the website or ShareFile function before using this function. Otherwise, this will throw.
| |
DownloadFile |
Download a Google Doc file as a PDF.
| |
FindFolder |
Finds a folder by name (inside another folder) if it exists. Can create one if it doesn't exist.
| |
ListFolders |
Lists the folders inside another folder.
| |
ShareFile |
Share a file with specified emails by giving the users writting permission.
Or transfer ownerhip of file to 1 user.
|