EndPoint Upload a file
Name
upload_file
Description
Uploads a file
[Read more]
Parameters
Parameter |
Label |
Required |
Options |
Description |
FileName |
FileName |
YES |
|
A filename the file will have in Google Drive
|
DiskFilePath |
DiskFilePath |
YES |
|
Specify a disk file path
|
ParentFolderId |
ParentFolderId |
NO |
|
Id of a parent folder you want to upload the file in. Use value 'root' to place the file in the topmost level.
|
keepRevisionForever |
KeepRevisionForever |
NO |
|
Defines whether uploaded file has revisions
|
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
Name |
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 |
|
Input Columns
Name |
DataType |
Length |
Raw |
Description |
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |