Skip to content

TTMSFNCCloudGoogleDrive:

Usage

A component that provides access to the Google Drive service. It allows to read, create and delete folders as well as read, upload, move, rename, download and delete files.

Authorization information

Client ID, Client Secret, CallBack URL

Properties

Property name Description
GDrive A list of files and folders.
Info Account info
TTMSFNCCloudGoogleDriveItem.PublicShare Indicate if the file is shared
TTMSFNCCloudGoogleDriveItem.WebContentLink Retrieve a link to the file

Methods

Method name Description
CreateFolder Create a new folder
Delete Delete a file or folder from the drive
Download Download a file from the drive
GetFolderList Retrieve the list of files and folders for the root folder or a specific folder
GetFolderListHierarchical Retrieve the list of files and folders for a specific folder and add them to the GDrive list
Search Search for files and folders based on a query.
Options:
- ExactMatch: indicate if the query should match the filename exactly
- FileNameOnly: indicate if the search applies to the filename only or also to the contents of the file
- FileExtensions: only return files that have one of the given extensions
- Folder: only return results for files in this folder
SearchFile Search for files based on a query
SearchFolder Search for folders based on a query
Upload Upload a file to the drive
MoveFile Move a file to a different folder
MoveFileToRoot Move a file to the root folder
RenameFile Rename an existing file