title: Google Drive API - Extracting metadata only for 'My Drive'
body: <p>I am using the Google Drive API Client Library for Python.</p>
  
  <p>I want to extract the metadata only for current files in 'My Drive'.
  However, using service.files().list().execute() yields a list not just of files currently shown in 'My Drive', but also previously deleted files and also files stored in 'Google Photos' and 'Recent'.</p>
  
  <p>How can I filter the list of files received to retrieve only the files that would be downloaded onto a client with Google Drive sync installed?</p>