OK, Team Drives are a feature of G Suite, the same old tools from Google (Gmail, Calendar etc), but marketed to businesses.
It’s like an additional folder within your Google Drive, but you can share it with others.
So if you have been added to a team drive (or started it yourself to share with others), you will get a new option underneath the “My Drive” option on the left side that says “Team Drives” (it’s different to the “Shared With Me” option).
You can use it just like your own drive, only other team members can access it as well.
The kicker is that you get unlimited storage with Team Drives, doesn’t count against your own storage limit (which may be just the standard 19GB).
So, basically it’s just an additional option for Google Drive, and as I said, apparently it’s enough to just add “supportTeamDrive=True” in the API call to access this feature.
Ok, I added the supportsTeamDrives=true to the query, but I am a not sure how teamDriveID is supposed to work.
Is teamDriveID a value that the user would know? As in: does it make sense to require that the user supplies --googledrive-teamdrive-id=xyz ?
According to the document, the alternative is to use corpora=user,allTeamDrives when listing files, but this is hinted to be slow.
Alternatively, using just user will give “files that the user has accessed, including both Team Drive and non-Team Drive files.” which sounds wrong to me, that would only include (recently?) accessed items.
Do you know any of the details? Not having used TeamDrive, I am lacking some understanding of the API.