v1
latestOpenAPI 3.0.42026-08-068161,1253.1 MBAssets
Users
List Asset Quotas
Returns a list of asset quotas.
get/cloud/v2/users/{user_id}/asset-quotas
Path parameters
user_idstring required
The user ID.
Query parameters
maxPageSizeinteger
The maximum number of asset quotas to return. The service might return fewer than this value. If unspecified, at most 10 asset quotas are returned. The maximum value is 100 and higher values are set to 100.
pageTokenstring
A page token, received from a previous call, to retrieve a subsequent page.
When paginating, all other parameters provided to the subsequent call must match the call that provided the page token.
filterstring
This field may be set in order to filter the resources returned.
Supports the following subset of CEL:
- Only the quotaType and assetType fields are supported.
- Only the == and && operator are supported.
For example: quotaType == RateLimitUpload && assetType == Audio
Response
OK
Example response
{
"assetQuotas": [
{
"path": "users/123/asset-quotas/some-asset-quota",
"quotaType": "QUOTA_TYPE_UNSPECIFIED",
"assetType": "ASSET_TYPE_UNSPECIFIED",
"period": "PERIOD_UNSPECIFIED",
"usageResetTime": "2023-07-05T12:34:56Z"
}
]
}