Bucket Info Module
Classes
BucketInfo
Defined in: messages/BucketInfo.ts:6
Represents information about a bucket
Constructors
Constructor
> new BucketInfo(): BucketInfo
Returns
BucketInfo
Properties
entryCount
> readonly entryCount: bigint = 0n
Defined in: messages/BucketInfo.ts:15
Number of entries in the bucket
isProvisioned?
> readonly optional isProvisioned: boolean = false
Defined in: messages/BucketInfo.ts:35
Is the bucket provisioned, and you can't remove it or change its settings
latestRecord
> readonly latestRecord: bigint = 0n
Defined in: messages/BucketInfo.ts:30
Unix timestamp of the latest record in microseconds
name
> readonly name: string = ""
Defined in: messages/BucketInfo.ts:10
Name of the bucket
oldestRecord
> readonly oldestRecord: bigint = 0n
Defined in: messages/BucketInfo.ts:25
Unix timestamp of the oldest record in microseconds
size
> readonly size: bigint = 0n
Defined in: messages/BucketInfo.ts:20
Size of stored data in the bucket in bytes
status
> readonly status: Status = Status.READY
Defined in: messages/BucketInfo.ts:40
Current status of the bucket (READY or DELETING)
Methods
parse()
> static parse(bucket): BucketInfo
Defined in: messages/BucketInfo.ts:42
Parameters
bucket
OriginalBucketInfo
Returns
BucketInfo