此处记录: https ://developers.google.com/storage/docs/reference-methods#getobject
我使用此功能尝试下载对象。但只能响应元数据信息
getFile: (file_id, 回调)->
log("getFileMetadata") unless callback callback = (resp) -> log "Read Complete" ,resp params = path : "/storage/v1beta2/b/#{@BUCKET}/o/#{file_id}" method : "GET" headers: host: "storage.googleapis.com" "If-Modified-Since" : "Fri, 19 Feb 2001 22:04:23 GMT" alert("12 storage.googleapis.com")
gapi.client.request(参数,回调)