Class: Google::Apis::VmmigrationV1alpha1::CloneStep

Inherits:
Object
  • Object
show all
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

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.



1003
1004
1005
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1003

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

Instance Attribute Details

#adapting_osGoogle::Apis::VmmigrationV1alpha1::AdaptingOsStep

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



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

def adapting_os
  @adapting_os
end

#end_timeString

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

Returns:

  • (String)


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

def end_time
  @end_time
end

#instantiating_migrated_vmGoogle::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep

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



991
992
993
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 991

def instantiating_migrated_vm
  @instantiating_migrated_vm
end

#preparing_vm_disksGoogle::Apis::VmmigrationV1alpha1::PreparingVmDisksStep

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



996
997
998
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 996

def preparing_vm_disks
  @preparing_vm_disks
end

#start_timeString

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

Returns:

  • (String)


1001
1002
1003
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1001

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1008
1009
1010
1011
1012
1013
1014
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1008

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