Class: Google::Apis::VmmigrationV1::VmAttachmentDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VmmigrationV1::VmAttachmentDetails
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb 
Overview
Details for attachment of the disk to a VM.
Instance Attribute Summary collapse
- 
  
    
      #device_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VmAttachmentDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VmAttachmentDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ VmAttachmentDetails
Returns a new instance of VmAttachmentDetails.
      4406 4407 4408  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4406 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#device_name ⇒ String
Optional. Specifies a unique device name of your choice that is reflected into
the /dev/disk/by-id/google-* tree of a Linux operating system running within
the instance. If not specified, the server chooses a default device name to
apply to this disk, in the form persistent-disk-x, where x is a number
assigned by Google Compute Engine. This field is only applicable for
persistent disks.
Corresponds to the JSON property deviceName
      4404 4405 4406  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4404 def device_name @device_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4411 4412 4413  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4411 def update!(**args) @device_name = args[:device_name] if args.key?(:device_name) end  |