ODBC Driver for Google Drive

Build 23.0.8839

UploadFile

Uploads a file to the user's Google Drive.

Input

Name Type Description
Id String The id for the file. Only needs to be set when updating an existing document.
Name String The title for the file, including the extension.
Description String The description for the file.
Starred Boolean This parameter sets whether or not the resource is starred.

The default value is FALSE.

Trashed Boolean This field sets whether or not the resource has been moved to the trash.

The default value is FALSE.

Viewed Boolean This field sets whether or not the resource has been viewed by the current user.

The default value is FALSE.

MIMEType String This parameter explicitly sets the MIME type for the document. If left empty, it will be determined automatically.
ParentIds String The comma-separated Ids of the parent folders for the uploaded document.
LocalFile String The local file path including the file name of the file to be uploaded. A value for this field is required when FileData is not specified.
FileData String If the LocalFile input is empty, the file data will be output to a file in the format specified by the Encoding parameter.
Encoding String The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

CopyRequiresWriterPermission Boolean Whether the options to copy, print, or download this file, should be disabled for readers and commenters.

The default value is FALSE.

Result Set Columns

Name Type Description
Id String The id for the file which was uploaded or updated.
Success String This parameter sets whether the operation was successful or not.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839