class Google::Apis::BaremetalsolutionV2::Lun
A storage Lun
.
Attributes
boot_lun[RW]
boot_lun?[RW]
multiprotocol_type[RW]
The Lun
Multiprotocol type to ensure the characteristics of the LUN are optimized for the Operating System. Corresponds to the JSON property `multiprotocolType` @return [String]
name[RW]
Output only. The name of this Lun
. Corresponds to the JSON property `name` @return [String]
size_gb[RW]
The size of this Lun
, in gigabytes. Corresponds to the JSON property `sizeGb` @return [Fixnum]
state[RW]
The state of this Volume
. Corresponds to the JSON property `state` @return [String]
storage_type[RW]
The storage type of this Lun
. Corresponds to the JSON property `storageType` @return [String]
storage_volume[RW]
The storage volume that this Lun
is attached to. Corresponds to the JSON property `storageVolume` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/baremetalsolution_v2/classes.rb, line 459 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 464 def update!(**args) @boot_lun = args[:boot_lun] if args.key?(:boot_lun) @multiprotocol_type = args[:multiprotocol_type] if args.key?(:multiprotocol_type) @name = args[:name] if args.key?(:name) @shared = args[:shared] if args.key?(:shared) @size_gb = args[:size_gb] if args.key?(:size_gb) @state = args[:state] if args.key?(:state) @storage_type = args[:storage_type] if args.key?(:storage_type) @storage_volume = args[:storage_volume] if args.key?(:storage_volume) end