code: public static String getWebViewLink(Drive drive, String fileId) {
      try {
        return getWebViewLink(getFile(drive, fileId));
      } catch (IOException e) {
        logger.log(Level.SEVERE, String.format( "Failed to build Google Drive URL for file %s",  fileId), e);
      }
      
      return null;
    }
docs: Returns web view link for the  file
  
  @param drive drive client
  @param fileId file id
  @return web view link for the  file