class Google::Apis::BaremetalsolutionV2::Lun

A storage Lun.

Attributes

boot_lun[RW]

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

boot_lun?[RW]

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

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]

shared[RW]

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

shared?[RW]

Whether this Lun is allowed to be shared between multiple physical servers. Corresponds to the JSON property `shared` @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 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