class Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail

Details about snapshot space reservation and usage on the Volume.

Attributes

reserved_space_gib[RW]

The space on this Volume reserved for snapshotsk, provided in GiB. Corresponds to the JSON property `reservedSpaceGib` @return [Fixnum]

reserved_space_remaining_gib[RW]

The amount, in GiB, of space available in this Volume's reserved snapshot space. Corresponds to the JSON property `reservedSpaceRemainingGib` @return [Fixnum]

reserved_space_used_percent[RW]

The percent of reserved snapshot space on this Volume that is actually used by snapshot copies. This may be higher than 100% if snapshot copies are occupying more space than has been reserved on the Volume. Corresponds to the JSON property `reservedSpaceUsedPercent` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 785
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/baremetalsolution_v2/classes.rb, line 790
def update!(**args)
  @reserved_space_gib = args[:reserved_space_gib] if args.key?(:reserved_space_gib)
  @reserved_space_remaining_gib = args[:reserved_space_remaining_gib] if args.key?(:reserved_space_remaining_gib)
  @reserved_space_used_percent = args[:reserved_space_used_percent] if args.key?(:reserved_space_used_percent)
end