class Google::Apis::BaremetalsolutionV2::Volume
A storage Volume
.
Attributes
The size, in GiB, that this Volume
has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0. Corresponds to the JSON property `autoGrownSizeGib` @return [Fixnum]
Output only. The resource name of this `Volume`. Resource names are schemeless URIs that follow the conventions in cloud.google.com/apis/design/ resource_names. Format: `projects/`project`/locations/`location`/volumes/` volumeā Corresponds to the JSON property `name` @return [String]
The space remaining in the Volume
for new LUNs, in GiB, excluding space reserved for snapshots. Corresponds to the JSON property `remainingSpaceGib` @return [Fixnum]
The requested size of this Volume
, in GiB. Corresponds to the JSON property `requestedSizeGib` @return [Fixnum]
Details about snapshot space reservation and usage on the Volume
. Corresponds to the JSON property `snapshotReservationDetail` @return [Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail]
The state of this Volume
. Corresponds to the JSON property `state` @return [String]
The storage type of this Volume
. Corresponds to the JSON property `storageType` @return [String]
Public Class Methods
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 927 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 932 def update!(**args) @auto_grown_size_gib = args[:auto_grown_size_gib] if args.key?(:auto_grown_size_gib) @current_size_gib = args[:current_size_gib] if args.key?(:current_size_gib) @name = args[:name] if args.key?(:name) @remaining_space_gib = args[:remaining_space_gib] if args.key?(:remaining_space_gib) @requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib) @snapshot_reservation_detail = args[:snapshot_reservation_detail] if args.key?(:snapshot_reservation_detail) @state = args[:state] if args.key?(:state) @storage_type = args[:storage_type] if args.key?(:storage_type) end