Class: Google::Apis::VmmigrationV1alpha1::VmwareSourceVmDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::VmwareSourceVmDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb
Overview
Represent the source Vmware VM details.
Instance Attribute Summary collapse
-
#committed_storage_bytes ⇒ Fixnum
The total size of the disks being migrated in bytes.
-
#disks ⇒ Array<Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails>
The disks attached to the source VM.
-
#firmware ⇒ String
The firmware type of the source VM.
-
#vm_capabilities_info ⇒ Google::Apis::VmmigrationV1alpha1::VmCapabilities
Migrating VM source information about the VM capabilities needed for some Compute Engine features.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareSourceVmDetails
constructor
A new instance of VmwareSourceVmDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareSourceVmDetails
Returns a new instance of VmwareSourceVmDetails.
4201 4202 4203 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#committed_storage_bytes ⇒ Fixnum
The total size of the disks being migrated in bytes.
Corresponds to the JSON property committedStorageBytes
4183 4184 4185 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4183 def committed_storage_bytes @committed_storage_bytes end |
#disks ⇒ Array<Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails>
The disks attached to the source VM.
Corresponds to the JSON property disks
4188 4189 4190 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4188 def disks @disks end |
#firmware ⇒ String
The firmware type of the source VM.
Corresponds to the JSON property firmware
4193 4194 4195 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4193 def firmware @firmware end |
#vm_capabilities_info ⇒ Google::Apis::VmmigrationV1alpha1::VmCapabilities
Migrating VM source information about the VM capabilities needed for some
Compute Engine features.
Corresponds to the JSON property vmCapabilitiesInfo
4199 4200 4201 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4199 def vm_capabilities_info @vm_capabilities_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4206 4207 4208 4209 4210 4211 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4206 def update!(**args) @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes) @disks = args[:disks] if args.key?(:disks) @firmware = args[:firmware] if args.key?(:firmware) @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info) end |