Class: Google::Apis::VmmigrationV1::VmwareSourceVmDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::VmwareSourceVmDetails
- 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
Represent the source Vmware VM details.
Instance Attribute Summary collapse
-
#architecture ⇒ String
Output only.
-
#committed_storage_bytes ⇒ Fixnum
Output only.
-
#disks ⇒ Array<Google::Apis::VmmigrationV1::VmwareDiskDetails>
Output only.
-
#firmware ⇒ String
Output only.
-
#vm_capabilities_info ⇒ Google::Apis::VmmigrationV1::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.
4661 4662 4663 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4661 def initialize(**args) update!(**args) end |
Instance Attribute Details
#architecture ⇒ String
Output only. The VM architecture.
Corresponds to the JSON property architecture
4638 4639 4640 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4638 def architecture @architecture end |
#committed_storage_bytes ⇒ Fixnum
Output only. The total size of the disks being migrated in bytes.
Corresponds to the JSON property committedStorageBytes
4643 4644 4645 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4643 def committed_storage_bytes @committed_storage_bytes end |
#disks ⇒ Array<Google::Apis::VmmigrationV1::VmwareDiskDetails>
Output only. The disks attached to the source VM.
Corresponds to the JSON property disks
4648 4649 4650 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4648 def disks @disks end |
#firmware ⇒ String
Output only. The firmware type of the source VM.
Corresponds to the JSON property firmware
4653 4654 4655 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4653 def firmware @firmware end |
#vm_capabilities_info ⇒ Google::Apis::VmmigrationV1::VmCapabilities
Migrating VM source information about the VM capabilities needed for some
Compute Engine features.
Corresponds to the JSON property vmCapabilitiesInfo
4659 4660 4661 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4659 def vm_capabilities_info @vm_capabilities_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4666 4667 4668 4669 4670 4671 4672 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4666 def update!(**args) @architecture = args[:architecture] if args.key?(:architecture) @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 |