Skip to content

voplica.types.file.upload.quota

The protobuf package voplica.types.file.upload.quota: 0 services, 2 messages and 2 enums, defined in voplica/types/file/upload/quota/file_upload_quota.proto.

Field Number Type Label Description
plan 1 FileUploadQuotaPlan
total_storage_used 2 int64
daily_quota_used 3 int64
daily_quota_reset_timestamp 4 int64
monthly_quota_used 5 int64
monthly_quota_reset_timestamp 6 int64
creator_allowance_used 7 int64 The subset of total_storage_used that the CREATOR ALLOWANCE is currently bearing. 0 for every account that is not an approved creator - the same bytes are then inside personal_storage_used.
creator_allowance_allowed 8 int64 The allowance itself. 0 = none (not an approved creator); otherwise the per-user value, which defaults to the configured 1 TiB and is raisable by an admin.
personal_storage_used 9 int64
over_quota_since 10 int64 Epoch millis the account first went over the personal ceiling, 0 while it is under. The grace and cold clocks both run from here.
enforcement 11 StorageEnforcementState
generated_bytes_used 12 int64
raw_enforcement 13 StorageEnforcementState
grace_expires_at 14 int64
Field Number Type Label Description
plan 1 FileUploadQuotaPlan
total_storage_allowed 2 int64
daily_quota_allowed 3 int64
monthly_quota_allowed 4 int64
Name Number Description
FILE_UPLOAD_QUOTA_PLAN_UNSPECIFIED 0 By default, all users get this quota plan. The unspecified plan refers to the default plan specified by the application.
BASE 1 Base plan.
INCREASED 2 Increased quota limits.
HEAVY 3 More quota limits.
UNLIMITED 100 No limits plan. Should be used for administrative tasks only.
Name Number Description
STORAGE_ENFORCEMENT_STATE_UNSPECIFIED 0
STORAGE_ENFORCEMENT_OK 1
STORAGE_ENFORCEMENT_GRACE 2 Over the personal ceiling, inside the 7-day notice. Everything still works.
STORAGE_ENFORCEMENT_BLOCKED 3 The notice elapsed: new uploads are refused and generation from the over-quota model files is refused. NOTHING IS DELETED, ever.
STORAGE_ENFORCEMENT_COLD 4 30 days over: the account’s over-quota model objects are tagged for the cold tier. Still not deleted; a cold object is served after a restore.