MuleSoft Connector for Google Drive

Build 20.0.7654

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 String This parameter sets whether or not the resource is starred.

The allowed values are TRUE, FALSE.

The default value is FALSE.

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

The default value is FALSE.

Viewed String 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.

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) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654