How to back up to Google Team Drive?

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.

1 Like