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 . Insert
Inserts a new file.
/*
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 inserts a new file. The documentation for this Google Drive resource can be found here.
Here is an example of acceptable inputs:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
ContentType: text/plain
FileContent: aGVsbG8gd29ybGQ=
RequestBody: {"title": "myTitle.txt"}
Note: In the Google Drive API, a folder is essentially a file identified by the MIME type application/vnd.google-apps.folder
. Do not include an extension when setting a folder title. To create a folder, you can use this Choreo with an input set like this:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
RequestBody: {"title" : "MyFolderTest", "mimeType" : "application/vnd.google-apps.folder"}
The following is a sample of the JSON information returned by this Choreo:
{ "kind": "drive#file", "id": "0B7yw6-lKEQSZczllX2MzelZzQlk", "etag": "\"V1Qx6tz5ah1O9YDljXSYMMcJPk4/MTM1MzUxMjUyMTkyOQ\"", "selfLink": "https://www.googleapis.com/drive/v2/files/0B7yw6-lKEQSZczllX2MzelZzQlk", "webContentLink": "https://docs.google.com/uc?id=0B7yw6-lKEQSZczllX2MzelZzQlk&export=download", "alternateLink": "https://docs.google.com/file/d/0B7yw6-lKEQSZczllX2MzelZzQlk/edit", "title": "Untitled", "mimeType": "application/octet-stream", "labels": { "starred": false, "hidden": false, "trashed": false, "restricted": false, "viewed": true }, "createdDate": "2012-11-21T15:42:01.972Z", "modifiedDate": "2012-11-21T15:42:01.929Z", "modifiedByMeDate": "2012-11-21T15:42:01.929Z", "lastViewedByMeDate": "2012-11-21T15:42:01.929Z", "parents": [ { "kind": "drive#parentReference", "id": "0ALyw6-lKEQSZUk9PVA", "selfLink": "https://www.googleapis.com/drive/v2/files/0B7yw6-lKEQSZczllX2MzelZzQlk/parents/0ALyw6-lKEQSZUk9PVA", "parentLink": "https://www.googleapis.com/drive/v2/files/0ALyw6-lKEQSZUk9PVA", "isRoot": true } ], "downloadUrl": "https://doc-04-2o-docs.googleusercontent.com/docs/securesc/pkcnhmu3s68tvbgiqc59r4fugle7gb5c/7s07qtppaa62c4rdgqa701u0fkgdo2cb/1353506400000/04692518151122865289/04692518151122865289/0B7yw6-lKEQSZczllX2MzelZzQlk?h=16653014193614665626&e=download&gd=true", "userPermission": { "kind": "drive#permission", "etag": "\"V1Qx6tz5ah1O9YDljXSYMMcJPk4/kt00ADpMkp7VrjgLEj19RohQt54\"", "id": "me", "selfLink": "https://www.googleapis.com/drive/v2/files/0B7yw6-lKEQSZczllX2MzelZzQlk/permissions/me", "role": "owner", "type": "user" }, "originalFilename": "Untitled", "fileExtension": "", "md5Checksum": "d41d8cd98f00b204e9800998ecf8427e", "fileSize": "0", "quotaBytesUsed": "0", "ownerNames": [ "AJ TembooDev" ], "lastModifyingUserName": "AJ TembooDev", "editable": true, "writersCanShare": true }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms