Hello,
I would like to ask for your advice on how to get the number of daily API requests with a simple api call.
Method projects.locations.services.quotaInfos.get from cloud quotas rest api gives me only maximum available quotas, not current daily usage.
{
"name": "projects/{projectID}/locations/global/services/customsearch.googleapis.com/quotaInfos/DefaultPerDayPerProject",
"quotaId": "DefaultPerDayPerProject",
"metric": "customsearch.googleapis.com/requests",
"service": "customsearch.googleapis.com",
"refreshInterval": "day",
"containerType": "PROJECT",
"metricDisplayName": "Queries",
"metricUnit": "1",
"quotaIncreaseEligibility": {
"isEligible": true
},
"dimensionsInfos": [
{
"details": {
"value": "10000"
},
"applicableLocations": [
"global"
]
}
]
}
Thank you for help. Petr L.