Interface Volume.SnapshotReservationDetailOrBuilder (0.36.0)

public static interface Volume.SnapshotReservationDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReservedSpaceGib()

public abstract long getReservedSpaceGib()

The space on this storage volume reserved for snapshots, shown in GiB.

int64 reserved_space_gib = 1;

Returns
TypeDescription
long

The reservedSpaceGib.

getReservedSpacePercent()

public abstract int getReservedSpacePercent()

Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true.

int32 reserved_space_percent = 4;

Returns
TypeDescription
int

The reservedSpacePercent.

getReservedSpaceRemainingGib()

public abstract long getReservedSpaceRemainingGib()

The amount, in GiB, of available space in this storage volume's reserved snapshot space.

int64 reserved_space_remaining_gib = 3;

Returns
TypeDescription
long

The reservedSpaceRemainingGib.

getReservedSpaceUsedPercent()

public abstract int getReservedSpaceUsedPercent()

The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume.

int32 reserved_space_used_percent = 2;

Returns
TypeDescription
int

The reservedSpaceUsedPercent.