Class: Google::Apis::VmmigrationV1alpha1::DiskMigrationStep
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::DiskMigrationStep
- 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
DiskMigrationStep holds information about the disk migration step progress.
Instance Attribute Summary collapse
-
#copying_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1alpha1::CopyingSourceDiskSnapshotStep
CopyingSourceDiskSnapshotStep contains specific step details.
-
#creating_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1alpha1::CreatingSourceDiskSnapshotStep
CreatingSourceDiskSnapshotStep contains specific step details.
-
#end_time ⇒ String
Output only.
-
#provisioning_target_disk ⇒ Google::Apis::VmmigrationV1alpha1::ProvisioningTargetDiskStep
ProvisioningTargetDiskStep contains specific step details.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskMigrationStep
constructor
A new instance of DiskMigrationStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskMigrationStep
Returns a new instance of DiskMigrationStep.
2307 2308 2309 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#copying_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1alpha1::CopyingSourceDiskSnapshotStep
CopyingSourceDiskSnapshotStep contains specific step details.
Corresponds to the JSON property copyingSourceDiskSnapshot
2285 2286 2287 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2285 def @copying_source_disk_snapshot end |
#creating_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1alpha1::CreatingSourceDiskSnapshotStep
CreatingSourceDiskSnapshotStep contains specific step details.
Corresponds to the JSON property creatingSourceDiskSnapshot
2290 2291 2292 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2290 def creating_source_disk_snapshot @creating_source_disk_snapshot end |
#end_time ⇒ String
Output only. The time the step has ended.
Corresponds to the JSON property endTime
2295 2296 2297 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2295 def end_time @end_time end |
#provisioning_target_disk ⇒ Google::Apis::VmmigrationV1alpha1::ProvisioningTargetDiskStep
ProvisioningTargetDiskStep contains specific step details.
Corresponds to the JSON property provisioningTargetDisk
2300 2301 2302 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2300 def provisioning_target_disk @provisioning_target_disk end |
#start_time ⇒ String
Output only. The time the step has started.
Corresponds to the JSON property startTime
2305 2306 2307 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2305 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2312 2313 2314 2315 2316 2317 2318 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2312 def update!(**args) @copying_source_disk_snapshot = args[:copying_source_disk_snapshot] if args.key?(:copying_source_disk_snapshot) @creating_source_disk_snapshot = args[:creating_source_disk_snapshot] if args.key?(:creating_source_disk_snapshot) @end_time = args[:end_time] if args.key?(:end_time) @provisioning_target_disk = args[:provisioning_target_disk] if args.key?(:provisioning_target_disk) @start_time = args[:start_time] if args.key?(:start_time) end |