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.



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

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



948
949
950
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 948

def adapting_os
  @adapting_os
end

#end_timeString

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

Returns:

  • (String)


953
954
955
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 953

def end_time
  @end_time
end

#instantiating_migrated_vmGoogle::Apis::VmmigrationV1::InstantiatingMigratedVmStep

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



958
959
960
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 958

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



963
964
965
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 963

def preparing_vm_disks
  @preparing_vm_disks
end

#start_timeString

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

Returns:

  • (String)


968
969
970
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 968

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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