You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Google . Drive . Files . Get
Gets a file's metadata and content by ID.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo gets a file's metadata and content by ID. The documentation for this Google Drive resource can be found here.
Note that by default, this Choreo will only retrieve the file's metadata. When the optional input ExportFormat is specified, this Choreo will automatically generate the appropriate export link and download the file's content as well. Export formats include file types like: pdf, rtf, txt, doc, docx, odt, and jpg.
Here is an example of acceptable inputs:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
ExportFormat: txt
FileID: 1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw
The following is a sample of the JSON information returned by this Choreo:
{ "kind": "drive#file", "id": "1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw", "etag": "\"V1Qx6tz5ah1O9YDljXSYMMcJPk4/MTM1MzM1MTk5OTkyMA\"", "selfLink": "https://www.googleapis.com/drive/v2/files/1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw", "alternateLink": "https://docs.google.com/document/d/1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw/edit", "embedLink": "https://docs.google.com/document/d/1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw/preview", "thumbnailLink": "https://docs.google.com/feeds/vt?gd=true&id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&v=1&s=AMedNnoAAAAAUK0RbiatKsfid3qAxAgfU58aDanZVqMC&sz=s220", "title": "copytest123", "mimeType": "application/vnd.google-apps.document", "labels": { "starred": false, "hidden": false, "trashed": false, "restricted": false, "viewed": true }, "createdDate": "2012-11-19T19:06:39.643Z", "modifiedDate": "2012-11-19T19:06:39.920Z", "modifiedByMeDate": "2012-11-19T19:06:39.920Z", "lastViewedByMeDate": "2012-11-20T22:58:03.962Z", "parents": [ { "kind": "drive#parentReference", "id": "0ALyw6-lKEQSZUk9PVA", "selfLink": "https://www.googleapis.com/drive/v2/files/1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw/parents/0ALyw6-lKEQSZUk9PVA", "parentLink": "https://www.googleapis.com/drive/v2/files/0ALyw6-lKEQSZUk9PVA", "isRoot": true } ], "exportLinks": { "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "https://docs.google.com/feeds/download/documents/export/Export?id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&exportFormat=docx", "application/vnd.oasis.opendocument.text": "https://docs.google.com/feeds/download/documents/export/Export?id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&exportFormat=odt", "text/html": "https://docs.google.com/feeds/download/documents/export/Export?id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&exportFormat=html", "application/rtf": "https://docs.google.com/feeds/download/documents/export/Export?id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&exportFormat=rtf", "text/plain": "https://docs.google.com/feeds/download/documents/export/Export?id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&exportFormat=txt", "application/pdf": "https://docs.google.com/feeds/download/documents/export/Export?id=1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw&exportFormat=pdf" }, "userPermission": { "kind": "drive#permission", "etag": "\"V1Qx6tz5ah1O9YDljXSYMMcJPk4/3LIdAYTzLJgS365rjRXS8zmLYxg\"", "id": "me", "selfLink": "https://www.googleapis.com/drive/v2/files/1AcYJTJFdV3HHIdPzpXo4SvbHtY8DJyQ9gEL04dXx-mw/permissions/me", "role": "owner", "type": "user" }, "quotaBytesUsed": "0", "ownerNames": [ "AJ TembooDev" ], "lastModifyingUserName": "AJ TembooDev", "editable": true, "writersCanShare": true }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms