struct Protocol::Storage::GetUsageAndQuota

Overview

Returns usage and quota in bytes.

Included Modules

Defined in:

protocol/storage.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def override_active : Bool #

Whether or not the origin has an active storage quota override


[View source]
def quota : Number::Primitive #

Storage quota (bytes).


[View source]
def usage : Number::Primitive #

Storage usage (bytes).


[View source]
def usage_breakdown : Array(UsageForType) #

Storage usage per type (bytes).


[View source]