title: How to get thumbnail of images by google drive api v3 (java)
body: <p>I tried to get list images of my google drive.
  My code in Java:</p>
  
  <pre><code>FileList mockupList = service.files().list()
                          .setPageSize(100)
                          .setQ("mimeType='image/jpeg' and '" + optionFolderID + "' in parents")
                          .setFields("nextPageToken, files(id, name, thumbnailLink, createdTime, hasThumbnail)")
                          .execute();
  </code></pre>
  
  <p>But the response did not contain thumbnailLink. I changed scopes: DriveScopes.DRIVE (full access) but not work.
  Please give me a solution. Thanks!</p>
  
  <p>P/s: if i tried in <a href="https://developers.google.com/drive/api/v3/reference/files/list" rel="nofollow noreferrer">https://developers.google.com/drive/api/v3/reference/files/list</a>, it's work well. But in my java client is not.</p>