About: get - Google Drive APIs

About - Google Drive APIs



https://developers.google.com/drive/api/v2/reference/about/get

/**
 * Print information about the current user along with the Drive API
 * settings.
 */
function printAbout() {
  var request = gapi.client.drive.about.get();
  request.execute(function(resp) {
    console.log('Current user name: ' + resp.name);
    console.log('Root folder ID: ' + resp.rootFolderId);
    console.log('Total quota (bytes): ' + resp.quotaBytesTotal);
    console.log('Used quota (bytes): ' + resp.quotaBytesUsed);
  });
}




Copy Google drive folder App







Find out which are your biggest files in Google Drive!


To bring up your list of files in size order, go to Google Drive and on the bottom left hand side you will see ‘GB used’. Hover over this and in the pop up click Drive.

Or simply click this URL: https://drive.google.com/drive/quota. Taking you straight to your files.







댓글

이 블로그의 인기 게시물

Share a Google Form as “View Only”

Advanced Drive Service in Apps Script.