Class: Google::Apis::VmmigrationV1::CloneStep

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

CloneStep holds information about the clone step progress.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloneStep

Returns a new instance of CloneStep.



988
989
990
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 988

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

Instance Attribute Details

#adapting_osGoogle::Apis::VmmigrationV1::AdaptingOsStep

AdaptingOSStep contains specific step details. Corresponds to the JSON property adaptingOs



966
967
968
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 966

def adapting_os
  @adapting_os
end

#end_timeString

The time the step has ended. Corresponds to the JSON property endTime

Returns:

  • (String)


971
972
973
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 971

def end_time
  @end_time
end

#instantiating_migrated_vmGoogle::Apis::VmmigrationV1::InstantiatingMigratedVmStep

InstantiatingMigratedVMStep contains specific step details. Corresponds to the JSON property instantiatingMigratedVm



976
977
978
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 976

def instantiating_migrated_vm
  @instantiating_migrated_vm
end

#preparing_vm_disksGoogle::Apis::VmmigrationV1::PreparingVmDisksStep

PreparingVMDisksStep contains specific step details. Corresponds to the JSON property preparingVmDisks



981
982
983
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 981

def preparing_vm_disks
  @preparing_vm_disks
end

#start_timeString

The time the step has started. Corresponds to the JSON property startTime

Returns:

  • (String)


986
987
988
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 986

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



993
994
995
996
997
998
999
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 993

def update!(**args)
  @adapting_os = args[:adapting_os] if args.key?(:adapting_os)
  @end_time = args[:end_time] if args.key?(:end_time)
  @instantiating_migrated_vm = args[:instantiating_migrated_vm] if args.key?(:instantiating_migrated_vm)
  @preparing_vm_disks = args[:preparing_vm_disks] if args.key?(:preparing_vm_disks)
  @start_time = args[:start_time] if args.key?(:start_time)
end