Google Drive Connector
Documentation
Version: 8
Documentation

EndPoint Upload a file


Name

upload_file

Description

Uploads a file [API Help]

Parameters

Parameter Label Required Options Description
KeepRevisionForever Keep Revision Forever NO
Option Value
true true
false false
Defines whether uploaded file has revisions
ParentFolderId Parent FolderId NO Id of a parent folder you want to upload the file in. Use value 'root' to place the file in the topmost level.
DriveId Shared DriveId NO By default file lists from MyDrive but if you like to search other Shared drive then set this parameter.
DriveType Drive Type NO
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.
FileName Target FileName YES A filename the file will have in Google Drive
DiskFilePath Local FilePath YES Specify a disk file path
AddParents AddParents NO A comma-separated list of parent IDs to add
ocrLanguage OcrLanguage NO A language hint for OCR processing during image import (ISO 639-1 code).
useContentAsIndexableText UseContentAsIndexableText NO Whether to use the uploaded content as indexable text.

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
FileSize DT_I8 0 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.