【发布时间】:2015-04-30 06:52:15
【问题描述】:
我正在尝试使用 google drive api 来获取用于 gmail 的配额。我从 api 得到的响应如下: 使用的api:https://developers.google.com/drive/v2/reference/about/get
{
"quotaBytesTotal": "246960619520", //246.96061952 GB
"quotaBytesUsed": "5256850",
"quotaBytesUsedAggregate": "85358344030", //85.35834403 GB
"quotaBytesUsedInTrash": "0",
"quotaType": "LIMITED",
"quotaBytesByService": [
{
"serviceName": "DRIVE",
"bytesUsed": "0"
},
{
"serviceName": "GMAIL",
"bytesUsed": "85353087180" //85.3531 GB
},
{
"serviceName": "PHOTOS",
"bytesUsed": "0"
}
当我登录我的 gmail 帐户时,我会看到以下信息:
34% full
Using 79.59 GB of your 230 GB
这似乎不匹配。
【问题讨论】:
标签: google-drive-api