class Google::Apis::BaremetalsolutionV1alpha1::Lun

A storage Lun.

Attributes

is_boot[RW]

Whether this Lun is a boot Lun. Corresponds to the JSON property `isBoot` @return [Boolean]

is_boot?[RW]

Whether this Lun is a boot Lun. Corresponds to the JSON property `isBoot` @return [Boolean]

multiprotocol_type[RW]

The multiprotocol type of this Lun. 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]

remote_volume[RW]

Volume registered in the project. Corresponds to the JSON property `remoteVolume` @return [Google::Apis::BaremetalsolutionV1alpha1::Volume]

serial_number[RW]

The serial number of this Lun Corresponds to the JSON property `serialNumber` @return [String]

shareable[RW]

Whether this Lun is allowed to be shared between multiple physical servers. Corresponds to the JSON property `shareable` @return [Boolean]

shareable?[RW]

Whether this Lun is allowed to be shared between multiple physical servers. Corresponds to the JSON property `shareable` @return [Boolean]

size_gb[RW]

The size of this Lun, in gigabytes. Corresponds to the JSON property `sizeGb` @return [Fixnum]

state[RW]

The state of this Lun. Corresponds to the JSON property `state` @return [String]

wwid[RW]

World Wide IDentifier of this Lun Corresponds to the JSON property `wwid` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 474
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_v1alpha1/classes.rb, line 479
def update!(**args)
  @is_boot = args[:is_boot] if args.key?(:is_boot)
  @multiprotocol_type = args[:multiprotocol_type] if args.key?(:multiprotocol_type)
  @name = args[:name] if args.key?(:name)
  @remote_volume = args[:remote_volume] if args.key?(:remote_volume)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @shareable = args[:shareable] if args.key?(:shareable)
  @size_gb = args[:size_gb] if args.key?(:size_gb)
  @state = args[:state] if args.key?(:state)
  @wwid = args[:wwid] if args.key?(:wwid)
end