Quick modification from a Google API sample to access Drive API