Schemas
StorageQuota
The storage your source videos and clips take. Your plan limits only the source videos
(sourceBytes); clips have no limit, and are counted so you can see what they take.
A source video counts the size declared for its upload, and once its analysis has finished and been measured, the files it keeps; a failed or cancelled analysis, and an upload whose upload window has passed, count nothing. A clip job counts its clips and posters once they have been measured, which happens when the ready job itself (not the list) is read, or for a job that is only listed, by a background check that runs several times an hour. A successful delete frees the storage of an analysis or clip job at once.
| Field | Description |
|---|---|
usedBytes integer (int64), required | All the storage you use, sourceBytes plus clipBytes. |
sourceBytes integer (int64), required | The storage your source videos take, what limitBytes applies to. |
clipBytes integer (int64), required | The storage your clips take. It has no limit. |
limitBytes integer (int64), optional | The storage your plan includes for source videos, which sourceBytes is held to; clips
do not count. Absent when there is no limit. Creating an analysis is refused
(QUOTA_EXCEEDED, field storage) when its declared size does not fit into what
sourceBytes leaves. sourceBytes can still end up above the limit: a finished analysis
counts the files it keeps, which can be more than its declared size.
|