Google Drive Connector
Documentation
Version: 8
Documentation

EndPoint Duplicate a file


Name

copy_file

Description

Duplicates a file [API Help]

Parameters

Parameter Label Required Options Description
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.
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.
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 DataType Length Raw Description
Id DT_WSTR 440 False
Kind DT_WSTR 200 False
Name DT_WSTR 780 False
MimeType DT_WSTR 650 False
CreatedTime DT_DBTIMESTAMP 0 False
ModifiedTime DT_DBTIMESTAMP 0 False
Size DT_WSTR 100 False
Version DT_WSTR 200 False
Shared DT_BOOL 0 False
Starred DT_BOOL 0 False
Trashed DT_BOOL 0 False
FileExtension DT_WSTR 200 False
DriveId DT_WSTR 4000 False

Input Columns

Label DataType Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.