Class: Google::Apis::VmmigrationV1::VmwareDiskDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VmmigrationV1::VmwareDiskDetails
 
 
- 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
The details of a Vmware VM disk.
Instance Attribute Summary collapse
- 
  
    
      #disk_number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #label  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #size_gb  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VmwareDiskDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VmwareDiskDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ VmwareDiskDetails
Returns a new instance of VmwareDiskDetails.
      4556 4557 4558  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4556 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#disk_number ⇒ Fixnum
Output only. The ordinal number of the disk.
Corresponds to the JSON property diskNumber
      4544 4545 4546  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4544 def disk_number @disk_number end  | 
  
#label ⇒ String
Output only. The disk label.
Corresponds to the JSON property label
      4549 4550 4551  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4549 def label @label end  | 
  
#size_gb ⇒ Fixnum
Output only. Size in GB.
Corresponds to the JSON property sizeGb
      4554 4555 4556  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4554 def size_gb @size_gb end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4561 4562 4563 4564 4565  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 4561 def update!(**args) @disk_number = args[:disk_number] if args.key?(:disk_number) @label = args[:label] if args.key?(:label) @size_gb = args[:size_gb] if args.key?(:size_gb) end  |