Table Folders
Description
No description available
Supported Operations
Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.| Method | Supported | Reference EndPoint | 
|---|---|---|
| SELECT | list_folders | |
| INSERT | create_folder | |
| UPDATE | ||
| UPSERT | ||
| DELETE | delete_item | |
| LOOKUP | get_file_info | 
Examples
SSIS
Use Google Drive Connector in API Source component to read data or in API Destination component to read/write data:
Read from Folders table using API Source
API Source - Google Drive
    Read / write Google Drive data inside your app; perform many Google Drive operations without coding, just using easy to use high performance API Connector for Google Drive
    Google Drive
    Folders
    | Optional Parameters | |
|---|---|
| Search Criteria | mimeType='application/vnd.google-apps.folder' and trashed!=true | 
Read/write to Folders table using API Destination
API Destination - Google Drive
    Read / write Google Drive data inside your app; perform many Google Drive operations without coding, just using easy to use high performance API Connector for Google Drive
    Google Drive
    Folders
    Select
    | Optional Parameters | |
|---|---|
| Search Criteria | mimeType='application/vnd.google-apps.folder' and trashed!=true | 
ODBC application
Use these SQL queries in your ODBC application data source:
Delete a folder
Deletes a folder
DELETE FROM Folders
  WITH (Id='1yDO11prsLH9DUrBTCadV6GGMJrITjF9I')
  --You can get folder Id by selecting from 'list_folders' endpoint
    Create a folder
Creates a folder
INSERT INTO Folders
  WITH (Name='My folder name'
      ,ParentFolderId='root')
  --You can get ParentFolderId by selecting from 'list_folders' endpoint or just use 'root'
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Delete a folder
Deletes a folder
DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Folders
  WITH (Id=''1yDO11prsLH9DUrBTCadV6GGMJrITjF9I'')
  --You can get folder Id by selecting from ''list_folders'' endpoint';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_DRIVE_IN_GATEWAY];
    Create a folder
Creates a folder
DECLARE @MyQuery NVARCHAR(MAX) = 'INSERT INTO Folders
  WITH (Name=''My folder name''
      ,ParentFolderId=''root'')
  --You can get ParentFolderId by selecting from ''list_folders'' endpoint or just use ''root''';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_DRIVE_IN_GATEWAY];