reservedSpaceGib = $reservedSpaceGib; } /** * @return string */ public function getReservedSpaceGib() { return $this->reservedSpaceGib; } /** * 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. * * @param int $reservedSpacePercent */ public function setReservedSpacePercent($reservedSpacePercent) { $this->reservedSpacePercent = $reservedSpacePercent; } /** * @return int */ public function getReservedSpacePercent() { return $this->reservedSpacePercent; } /** * The amount, in GiB, of available space in this storage volume's reserved * snapshot space. * * @param string $reservedSpaceRemainingGib */ public function setReservedSpaceRemainingGib($reservedSpaceRemainingGib) { $this->reservedSpaceRemainingGib = $reservedSpaceRemainingGib; } /** * @return string */ public function getReservedSpaceRemainingGib() { return $this->reservedSpaceRemainingGib; } /** * 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. * * @param int $reservedSpaceUsedPercent */ public function setReservedSpaceUsedPercent($reservedSpaceUsedPercent) { $this->reservedSpaceUsedPercent = $reservedSpaceUsedPercent; } /** * @return int */ public function getReservedSpaceUsedPercent() { return $this->reservedSpaceUsedPercent; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SnapshotReservationDetail::class, 'Google_Service_Baremetalsolution_SnapshotReservationDetail');