Google cloud storage 如何使用javascript读取Google云存储上的文件内容

Google cloud storage 如何使用javascript读取Google云存储上的文件内容,google-cloud-storage,Google Cloud Storage,如何使用javascript读取Google云存储上的文件内容 我尝试了这个,它得到了元数据,但我不知道如何读取文件的内容。谢谢你的帮助 $wnd.gapi.client.request({ path : '/storage/v1beta1/b/easycompile/o/steps.txt', method : 'GET', params : { projection: "FULL"

如何使用javascript读取Google云存储上的文件内容

我尝试了这个,它得到了元数据,但我不知道如何读取文件的内容。谢谢你的帮助

$wnd.gapi.client.request({
           path : '/storage/v1beta1/b/easycompile/o/steps.txt',
           method : 'GET',
           params : {
                projection: "FULL"
           }
      });
      request.execute(function(response) {
           console.log(response);   
      });