I am trying to test the behavior of Google Drive virus scan through the API. I can upload a file through the Google Drive user interface and it tells me that it is infected with a virus. However, when I download the same file that was downloaded through the API, it does not give me any notifications and allows the infected file to be downloaded.
How can I get the API to tell me if I am trying to download an infected virus?
source share