Class: Google::Apis::VmmigrationV1::AwsSourceVmDetails

Inherits:
Object
  • Object
show all
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 AWS VM details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AwsSourceVmDetails

Returns a new instance of AwsSourceVmDetails.



286
287
288
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 286

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#committed_storage_bytesFixnum

The total size of the disks being migrated in bytes. Corresponds to the JSON property committedStorageBytes

Returns:

  • (Fixnum)


279
280
281
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 279

def committed_storage_bytes
  @committed_storage_bytes
end

#firmwareString

The firmware type of the source VM. Corresponds to the JSON property firmware

Returns:

  • (String)


284
285
286
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 284

def firmware
  @firmware
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



291
292
293
294
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 291

def update!(**args)
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
  @firmware = args[:firmware] if args.key?(:firmware)
end