SDK reference / Models / Ledgers

Ledger

Kind: class

Namespace: Egulu.Sdk.Models.Ledgers

A tamper-evident ledger.

Properties

NameTypeJSON nameDescription
CreateTimeDateTimeOffset?createTimeThe createTime property
DeletableTimeDateTimeOffset?deletableTimeThe earliest time the ledger may be deleted: the last append (or the creation) plus the retention.
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Descriptionstring?descriptionUp to 256 characters.
Etagstring?etagThe etag property
HeadModels.Ledgers.SignedTreeHead?headThe newest signed tree head, or, once the ledger is deleted, the final one the platform keeps.
LastAppendTimeDateTimeOffset?lastAppendTimeThe last append, unset for an empty ledger.
Namestring?nameprojects/{project}/locations/{location}/ledgers/{ledger}.
RetentionDaysint?retentionDaysHow long after its last append the ledger may be deleted, 7 to 3650 days (default 30; a week is the platform's floor, so a ledger cannot be deleted at once). A longer retention cannot be shortened later.
StateModels.Ledgers.LedgerState?stateLedger states.
StoredByteslong?storedBytesTotal bytes of payloads kept (the stored-GiB meter).
TreeSizelong?treeSizeThe number of entries; the next entry's `seq` is this plus one.
Uidstring?uidThe uid property