I\'m trying to use the Google drive to list files.
Using the answer in https://stackoverflow.com/a/11280257 I found a problem that I can\'t discover the reason.
Using
var request = gapi.client.request({ 'path': '/drive/v2/files', 'method': 'GET', 'params': {'maxResults': '1'} });
instead of
var request = gapi.client.drive.files.list({'maxResults': 5 });
resolved the problem!