Class: Google::Apis::BaremetalsolutionV2::DetachLunRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb

Overview

Message for detach specific LUN from an Instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DetachLunRequest

Returns a new instance of DetachLunRequest.



94
95
96
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 94

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#lunString

Required. Name of the Lun to detach. Corresponds to the JSON property lun

Returns:

  • (String)


92
93
94
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 92

def lun
  @lun
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



99
100
101
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 99

def update!(**args)
  @lun = args[:lun] if args.key?(:lun)
end