Class: Google::Apis::VmmigrationV1alpha1::CutoverStep

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

CutoverStep holds information about the cutover step progress.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CutoverStep

Returns a new instance of CutoverStep.



1639
1640
1641
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1639

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

Instance Attribute Details

#end_timeString

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

Returns:

  • (String)


1605
1606
1607
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1605

def end_time
  @end_time
end

#final_syncGoogle::Apis::VmmigrationV1alpha1::ReplicationCycle

ReplicationCycle contains information about the current replication cycle status. Corresponds to the JSON property finalSync



1611
1612
1613
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1611

def final_sync
  @final_sync
end

#instantiating_migrated_vmGoogle::Apis::VmmigrationV1alpha1::InstantiatingMigratedVmStep

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



1616
1617
1618
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1616

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



1621
1622
1623
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1621

def preparing_vm_disks
  @preparing_vm_disks
end

#previous_replication_cycleGoogle::Apis::VmmigrationV1alpha1::ReplicationCycle

ReplicationCycle contains information about the current replication cycle status. Corresponds to the JSON property previousReplicationCycle



1627
1628
1629
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1627

def previous_replication_cycle
  @previous_replication_cycle
end

#shutting_down_source_vmGoogle::Apis::VmmigrationV1alpha1::ShuttingDownSourceVmStep

ShuttingDownSourceVMStep contains specific step details. Corresponds to the JSON property shuttingDownSourceVm



1632
1633
1634
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1632

def shutting_down_source_vm
  @shutting_down_source_vm
end

#start_timeString

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

Returns:

  • (String)


1637
1638
1639
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1637

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1644

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @final_sync = args[:final_sync] if args.key?(:final_sync)
  @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)
  @previous_replication_cycle = args[:previous_replication_cycle] if args.key?(:previous_replication_cycle)
  @shutting_down_source_vm = args[:shutting_down_source_vm] if args.key?(:shutting_down_source_vm)
  @start_time = args[:start_time] if args.key?(:start_time)
end