Google Drive Connector
Documentation
Version: 10
Documentation

EndPoint Duplicate a file


Parameters

Parameter Label Required Options Description
DriveType Drive Type YES
Option Value
My Drive user
Shared Drive drive
Default search context is User's drive. Bodies of items (files/documents) to which the query applies. Supported bodies are 'user', 'domain', 'drive', and 'allDrives'. Prefer 'user' or 'drive' to 'allDrives' for efficiency. By default, corpora is set to 'user'. However, this can change depending on the filter set through the 'Query' parameter.
Id File Id NO Id of a file you want to duplicate
DriveId Shared DriveId NO By default file lists from MyDrive but if you like to search other Shared drive (formally known as Team drive) then set this parameter.
SupportsAllDrives Supports all drives (e.g. My and Shared) NO
Option Value
true true
false false
Whether the requesting application supports both My Drives and shared drives.

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(440) 440 False
Kind DT_WSTR nvarchar(200) 200 False
Name DT_WSTR nvarchar(780) 780 False
MimeType DT_WSTR nvarchar(650) 650 False
CreatedTime DT_DBTIMESTAMP datetime False
ModifiedTime DT_DBTIMESTAMP datetime False
Size DT_WSTR nvarchar(100) 100 False
Version DT_WSTR nvarchar(200) 200 False
Shared DT_BOOL bit False
Starred DT_BOOL bit False
Trashed DT_BOOL bit False
FileExtension DT_WSTR nvarchar(200) 200 False
DriveId DT_WSTR nvarchar(4000) 4000 False

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Google Drive Connector in API Source component to read data or in API Destination component to read/write data:

Duplicate a file using API Source

Google Drive
Duplicate a file
SSIS API Source - Read from table or endpoint

Duplicate a file using API Destination

Google Drive
Duplicate a file
SSIS API Destination - Access table or endpoint