Table SharedDrives
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_shared_drives | |
| INSERT | ||
| UPDATE | ||
| UPSERT | ||
| DELETE | ||
| LOOKUP |
Examples
SSIS
Use Google Drive Connector in API Source component to read data or in API Destination component to read/write data:
Read from SharedDrives table using API Source
| There are no parameters to configure. |
Read/write to SharedDrives table using API Destination
| There are no parameters to configure. |
ODBC application
Use these SQL queries in your ODBC application data source:
List all shared drives
<p>Returns all shared drives (formerly team drives) the user can access. Optionally filter by search query (e.g. by name).</p>
SELECT * FROM SharedDrives
--WITH(Query='name = "HR"')
Get information about a shared drive
<p>Returns details for a shared drive, typically filtered by search query (e.g. name).</p>
SELECT * FROM SharedDrives WITH(Query='name = "HR"')
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List all shared drives
<p>Returns all shared drives (formerly team drives) the user can access. Optionally filter by search query (e.g. by name).</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM SharedDrives
--WITH(Query=''name = "HR"'')';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_DRIVE_IN_GATEWAY];
Get information about a shared drive
<p>Returns details for a shared drive, typically filtered by search query (e.g. name).</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM SharedDrives WITH(Query=''name = "HR"'')';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_DRIVE_IN_GATEWAY];