I\'m using Google Apps Script and V2 of the Drive API (I don\'t think V3 is available in scripts yet) to automate file creation inside of a Team Drive. I\'d like to add edit
You can access but there's alot you can't do like removeFile() or getUrl() even when you have full access. You will still get the
removeFile()
getUrl()
{error: "Exception: Cannot use this operation on a Team Drive item."}
Workaround is to use setTrashed() instead of removeFile() on files/folders.
setTrashed()