簡體   English   中英

Google雲端硬盤Api V3-如何獲取存儲配額

[英]Google Drive Api V3 - how to get storage quota

我有我的$client ,現在我需要了解信息

$service = new \\Google_Service_Drive($this->client)

我試圖做到這一點

$service->about->get()

但我收到此錯誤The 'fields' parameter is required for this method.

此方法需要'fields'參數。

由於錯誤消息指出files參數是必需的。

$optParams = array('fields' => '*');
$service->about->get($optParams);

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM