Class: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails
- 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 AWS VM details.
Instance Attribute Summary collapse
-
#committed_storage_bytes ⇒ Fixnum
The total size of the disks being migrated in bytes.
-
#firmware ⇒ String
The firmware type of the source VM.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsSourceVmDetails
constructor
A new instance of AwsSourceVmDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsSourceVmDetails
Returns a new instance of AwsSourceVmDetails.
279 280 281 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 279 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
272 273 274 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 272 def committed_storage_bytes @committed_storage_bytes end |
#firmware ⇒ String
The firmware type of the source VM.
Corresponds to the JSON property firmware
277 278 279 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 277 def firmware @firmware end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
284 285 286 287 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 284 def update!(**args) @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes) @firmware = args[:firmware] if args.key?(:firmware) end |