Reference

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 and write Google Drive data effortlessly. Integrate, manage, and automate files, folders, and shared drives — almost no coding required.
Google Drive
Folders
Optional Parameters
Search Criteria mimeType='application/vnd.google-apps.folder' and trashed!=true
SSIS API Source - Read from table or endpoint

Read/write to Folders table using API Destination

API Destination - Google Drive
Read and write Google Drive data effortlessly. Integrate, manage, and automate files, folders, and shared drives — almost no coding required.
Google Drive
Folders
Select
Optional Parameters
Search Criteria mimeType='application/vnd.google-apps.folder' and trashed!=true
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Delete a folder

DELETE FROM Folders
WITH(Id='1yDO11prsLH9DUrBTCadV6GGMJrITjF9I')

Create a folder

INSERT INTO Folders
WITH(Name='My folder name',
     ParentFolderId='root')

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Delete a folder

DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Folders
WITH(Id=''1yDO11prsLH9DUrBTCadV6GGMJrITjF9I'')';

EXEC (@MyQuery) AT [LS_TO_GOOGLE_DRIVE_IN_GATEWAY];

Create a folder

DECLARE @MyQuery NVARCHAR(MAX) = 'INSERT INTO Folders
WITH(Name=''My folder name'',
     ParentFolderId=''root'')';

EXEC (@MyQuery) AT [LS_TO_GOOGLE_DRIVE_IN_GATEWAY];