quota_cost: Track Quota Usage
Description
Internal function to track API usage
Usage
quota_cost(endpoint, method)
Arguments
- endpoint
Character. API resource name.
- method
Character. API method such as `"list"`, `"insert"`,
`"update"`, `"delete"`, or `"download"`.