Google Drive

Google Drive

Google Drive is a file storage and synchronization service created by Google. It allows users to store files in the cloud, share files, and edit documents, spreadsheets, and presentations with collaborators.

General Limits

Name Value
Maximum sheet rows count 500000
Maximum content length (in MB) 10

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Copy file

Copies a file on Google Drive

Required Parameters

Source url
string
Url to source file
Destination file path
string
Destination file path in Google Drive, including target filename

Optional Parameters

Overwrite?
boolean
Overwrites the destination file if set to 'true'

Returns

Create file

Uploads a file to Google Drive

Required Parameters

Folder path
string
Folder path to upload the file to Google Drive
File name
string
Name of the file to create in Google Drive
File content
binary
Content of the file to upload to Google Drive

Returns

Delete file

Deletes a file from Google Drive

Required Parameters

File
string
Specify the file to delete

Returns

Extract archive to folder

Extracts an archive file into a folder in Google Drive (example: .zip)

Required Parameters

Source archive file path
string
Path to the archive file
Destination folder path
string
Path in Google Drive to extract the archive contents

Optional Parameters

Overwrite?
boolean
Overwrites the destination files if set to 'true'

Returns

array of BlobMetadata

Get file content using id

Retrieves file content from Google Drive using id

Required Parameters

File id
string
Unique identifier of the file to retrieve in Google Drive

Optional Parameters

Infer content type
boolean
Infer content-type based on extension

Returns

File content
binary

Get file content using path

Retrieves file content from Google Drive using path

Required Parameters

File path
string
Path of the file in Google Drive

Optional Parameters

Infer content type
boolean
Infer content-type based on extension

Returns

File content
binary

Get file metadata using id

Retrieves file metadata from Google Drive using id

Required Parameters

File
string
Specify the file

Returns

Get file metadata using path

Retrieves file metadata from Google Drive using path

Required Parameters

File path
string
Path of the file in Google Drive

Returns

List files in folder

List files in a Google Drive folder

Required Parameters

Folder id
string
Specify the folder in Google Drive

Returns

array of BlobMetadata

List files in root folder

Lists files in the Google Drive root folder

Required Parameters

Source url
string
Url to source file
Destination file path
string
Destination file path in Google Drive, including target filename

Optional Parameters

Overwrite?
boolean
Overwrites the destination file if set to 'true'

Returns

array of BlobMetadata

Update file

Updates a file in Google Drive

Required Parameters

File
string
Specify the file to update
File content
binary
Content of the file to upload to Google Drive

Returns

Definitions

BlobMetadata

DisplayName
string
ETag
string
FileLocator
string
Id
string
IsFolder
boolean
LastModified
date-time
LastModifiedBy
string
MediaType
string
Name
string
Path
string
Size
integer