Class: Google::Apis::VmmigrationV1::CutoverStep
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::CutoverStep
- 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
CutoverStep holds information about the cutover step progress.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The time the step has ended.
-
#final_sync ⇒ Google::Apis::VmmigrationV1::ReplicationCycle
ReplicationCycle contains information about the current replication cycle status.
-
#instantiating_migrated_vm ⇒ Google::Apis::VmmigrationV1::InstantiatingMigratedVmStep
InstantiatingMigratedVMStep contains specific step details.
-
#preparing_vm_disks ⇒ Google::Apis::VmmigrationV1::PreparingVmDisksStep
PreparingVMDisksStep contains specific step details.
-
#previous_replication_cycle ⇒ Google::Apis::VmmigrationV1::ReplicationCycle
ReplicationCycle contains information about the current replication cycle status.
-
#shutting_down_source_vm ⇒ Google::Apis::VmmigrationV1::ShuttingDownSourceVmStep
ShuttingDownSourceVMStep contains specific step details.
-
#start_time ⇒ String
The time the step has started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CutoverStep
constructor
A new instance of CutoverStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CutoverStep
Returns a new instance of CutoverStep.
1531 1532 1533 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1531 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The time the step has ended.
Corresponds to the JSON property endTime
1497 1498 1499 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1497 def end_time @end_time end |
#final_sync ⇒ Google::Apis::VmmigrationV1::ReplicationCycle
ReplicationCycle contains information about the current replication cycle
status.
Corresponds to the JSON property finalSync
1503 1504 1505 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1503 def final_sync @final_sync end |
#instantiating_migrated_vm ⇒ Google::Apis::VmmigrationV1::InstantiatingMigratedVmStep
InstantiatingMigratedVMStep contains specific step details.
Corresponds to the JSON property instantiatingMigratedVm
1508 1509 1510 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1508 def instantiating_migrated_vm @instantiating_migrated_vm end |
#preparing_vm_disks ⇒ Google::Apis::VmmigrationV1::PreparingVmDisksStep
PreparingVMDisksStep contains specific step details.
Corresponds to the JSON property preparingVmDisks
1513 1514 1515 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1513 def preparing_vm_disks @preparing_vm_disks end |
#previous_replication_cycle ⇒ Google::Apis::VmmigrationV1::ReplicationCycle
ReplicationCycle contains information about the current replication cycle
status.
Corresponds to the JSON property previousReplicationCycle
1519 1520 1521 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1519 def previous_replication_cycle @previous_replication_cycle end |
#shutting_down_source_vm ⇒ Google::Apis::VmmigrationV1::ShuttingDownSourceVmStep
ShuttingDownSourceVMStep contains specific step details.
Corresponds to the JSON property shuttingDownSourceVm
1524 1525 1526 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1524 def shutting_down_source_vm @shutting_down_source_vm end |
#start_time ⇒ String
The time the step has started.
Corresponds to the JSON property startTime
1529 1530 1531 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1529 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1536 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 |