class Google::Apis::BaremetalsolutionV1alpha1::Volume
Volume
registered in the project.
Attributes
The size, in GB, that this Volume
has expanded as a result of an auto grow policy. Corresponds to the JSON property `autoGrownSizeGb` @return [Fixnum]
Output only. The name of this Volume
. Corresponds to the JSON property `name` @return [String]
The space remaining in the Volume
for new LUNs, in GB, excluding space reserved for snapshots. Corresponds to the JSON property `remainingSpaceGb` @return [Fixnum]
The requested size of this Volume
, in GB. Corresponds to the JSON property `requestedSizeGb` @return [Fixnum]
The behavior to use when snapshot reserved space is full. Corresponds to the JSON property `snapshotAutoDeleteBehavior` @return [String]
The percent of space on this Volume
reserved for snapshots. Corresponds to the JSON property `snapshotReservedSpacePercent` @return [Fixnum]
The amount, in GB, of space available in this Volume's reserved snapshot space. Corresponds to the JSON property `snapshotReservedSpaceRemainingGb` @return [Fixnum]
The state of this Volume
. Corresponds to the JSON property `state` @return [String]
The type of this Volume
. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 1027 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 1032 def update!(**args) @auto_grown_size_gb = args[:auto_grown_size_gb] if args.key?(:auto_grown_size_gb) @current_size_gb = args[:current_size_gb] if args.key?(:current_size_gb) @name = args[:name] if args.key?(:name) @remaining_space_gb = args[:remaining_space_gb] if args.key?(:remaining_space_gb) @requested_size_gb = args[:requested_size_gb] if args.key?(:requested_size_gb) @snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior) @snapshot_reserved_space_percent = args[:snapshot_reserved_space_percent] if args.key?(:snapshot_reserved_space_percent) @snapshot_reserved_space_remaining_gb = args[:snapshot_reserved_space_remaining_gb] if args.key?(:snapshot_reserved_space_remaining_gb) @snapshot_reserved_space_used_percent = args[:snapshot_reserved_space_used_percent] if args.key?(:snapshot_reserved_space_used_percent) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end