function runSample (callback) {
  drive.files.list((err, res) => {
    if (err) {
      throw err;
    }
    console.log(res.data);
    callback(res.data);
  });
}
// Make an authorized request to list Drive files.
Make an authorized request to list Drive files.
Make an authorized request to list Drive files .
function runSample (callback) {
  drive.files.list((err, res) => {
    if (err) {
      throw err;
    }
    console.log(res.data);
    callback(res.data);
  });
}
function runSample ( callback ) { drive . files . list ( ( err , res ) => { if ( err ) { throw err ; } console . log ( res . data ) ; callback ( res . data ) ; } ) ; }
Make an authorized request to list Drive files.
Make an authorized request to list Drive files .