How to determine the storage quota used by each google service?

All my questions come down to figuring out how many storages each google service contributes to the user storage quota.

The Google Drive API version 2 describes the user storage quota in its service components. for example: disk, gmail, photos, ...

{
    "quotaBytesTotal": "16106127360",
    "quotaBytesUsed": "8815339193",
    "quotaBytesUsedAggregate": "11518850915",
    "quotaBytesUsedInTrash": "3690146836",
    "quotaType": "LIMITED",
    "quotaBytesByService": [
        {
            "serviceName": "DRIVE",
            "bytesUsed": "8815302329"
        },
        {
            "serviceName": "GMAIL",
            "bytesUsed": "2696242936"
        },
        {
            "serviceName": "PHOTOS",
            "bytesUsed": "7268786"
        }
    ]
}

Version 3 of the Google Drive API returns only the Drive contribution to the user's total storage quota ...

{
    "storageQuota": {
        "limit": "16106127360",
        "usage": "11518850915",
        "usageInDrive": "8815339193",
        "usageInDriveTrash": "3690146836"
    }
}
  • I missed some place in the V3 API on Drive that provides the previous functionality, detailing how much each service contributes?

  • ( ) ? /, , , API -?

  • V2, V3?

  • , , ?

  • API GMAIL?

  • API PHOTOS?

  • , - ?

+4

Source: https://habr.com/ru/post/1628768/


All Articles