Interface Volume.SnapshotReservationDetailOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getReservedSpaceGib()
      The space on this storage volume reserved for snapshots, shown in GiB.
      int getReservedSpacePercent()
      Percent of the total Volume size reserved for snapshot copies.
      long getReservedSpaceRemainingGib()
      The amount, in GiB, of available space in this storage volume's reserved snapshot space.
      int getReservedSpaceUsedPercent()
      The percent of snapshot space on this storage volume actually being used by the snapshot copies.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getReservedSpaceGib

        long getReservedSpaceGib()
         The space on this storage volume reserved for snapshots, shown in GiB.
         
        int64 reserved_space_gib = 1;
        Returns:
        The reservedSpaceGib.
      • getReservedSpaceUsedPercent

        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:
        The reservedSpaceUsedPercent.
      • getReservedSpaceRemainingGib

        long getReservedSpaceRemainingGib()
         The amount, in GiB, of available space in this storage volume's reserved
         snapshot space.
         
        int64 reserved_space_remaining_gib = 3;
        Returns:
        The reservedSpaceRemainingGib.
      • getReservedSpacePercent

        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:
        The reservedSpacePercent.