Click or drag to resize

IGoogleDrive Methods

The IGoogleDrive type exposes the following members.

Methods
  NameDescription
Public methodCreateFile
Creates a file owned by the person the API is impersonating. The file gets shared with emails specified for the service.
Public methodCreateFileFromTemplate
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.
Public methodCreateFolder
Creates a folder owned by the person the API is impersonating.
Public methodDelete
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.
Public methodDownloadFile
Download a Google Doc file as a PDF.
Public methodFindFolder
Finds a folder by name (inside another folder) if it exists. Can create one if it doesn't exist.
Public methodListFolders
Lists the folders inside another folder.
Public methodShareFile
Share a file with specified emails by giving the users writting permission. Or transfer ownerhip of file to 1 user.
Top
See Also