【发布时间】:2017-02-09 08:49:37
【问题描述】:
我正在使用 Google PHP 客户端库处理 Google Drive API。我正在尝试查找根目录的当前大小。
我的代码如下。
$file = $this->service->files->get('root',array( 'fields'=>'size,spaces,quotaBytesUsed',));
Size 和 quotaBytesUsed 为 0;
【问题讨论】:
标签: php google-api google-drive-api google-api-php-client