Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::Volume::SnapshotReservationDetail (v0.1.0)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::Volume::SnapshotReservationDetail.

Details about snapshot space reservation and usage on the storage volume.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#reserved_space_gib

def reserved_space_gib() -> ::Integer
Returns
  • (::Integer) — The space on this storage volume reserved for snapshots, shown in GiB.

#reserved_space_gib=

def reserved_space_gib=(value) -> ::Integer
Parameter
  • value (::Integer) — The space on this storage volume reserved for snapshots, shown in GiB.
Returns
  • (::Integer) — The space on this storage volume reserved for snapshots, shown in GiB.

#reserved_space_percent

def reserved_space_percent() -> ::Integer
Returns
  • (::Integer) — 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.

#reserved_space_percent=

def reserved_space_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.

#reserved_space_remaining_gib

def reserved_space_remaining_gib() -> ::Integer
Returns
  • (::Integer) — The amount, in GiB, of available space in this storage volume's reserved snapshot space.

#reserved_space_remaining_gib=

def reserved_space_remaining_gib=(value) -> ::Integer
Parameter
  • value (::Integer) — The amount, in GiB, of available space in this storage volume's reserved snapshot space.
Returns
  • (::Integer) — The amount, in GiB, of available space in this storage volume's reserved snapshot space.

#reserved_space_used_percent

def reserved_space_used_percent() -> ::Integer
Returns
  • (::Integer) — 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.

#reserved_space_used_percent=

def reserved_space_used_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.