The Google Drive Rest API v3 has a Drive.Files.Delete method, but that permanently deletes the file.How do i move the file to the trash?
I looked at the docs for updating file metadata, and i tried to do this, but it doesn't seem to work:
File file = new File();
file.setTrashed(true);
driveService.files().update(f.getId(), file).execute();