Class: Google::Apis::VmmigrationV1::DiskMigrationStep
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::DiskMigrationStep
- 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
DiskMigrationStep holds information about the disk migration step progress.
Instance Attribute Summary collapse
-
#copying_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1::CopyingSourceDiskSnapshotStep
CopyingSourceDiskSnapshotStep contains specific step details.
-
#creating_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1::CreatingSourceDiskSnapshotStep
CreatingSourceDiskSnapshotStep contains specific step details.
-
#end_time ⇒ String
Output only.
-
#provisioning_target_disk ⇒ Google::Apis::VmmigrationV1::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.
2266 2267 2268 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2266 def initialize(**args) update!(**args) end |
Instance Attribute Details
#copying_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1::CopyingSourceDiskSnapshotStep
CopyingSourceDiskSnapshotStep contains specific step details.
Corresponds to the JSON property copyingSourceDiskSnapshot
2244 2245 2246 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2244 def end |
#creating_source_disk_snapshot ⇒ Google::Apis::VmmigrationV1::CreatingSourceDiskSnapshotStep
CreatingSourceDiskSnapshotStep contains specific step details.
Corresponds to the JSON property creatingSourceDiskSnapshot
2249 2250 2251 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2249 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
2254 2255 2256 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2254 def end_time @end_time end |
#provisioning_target_disk ⇒ Google::Apis::VmmigrationV1::ProvisioningTargetDiskStep
ProvisioningTargetDiskStep contains specific step details.
Corresponds to the JSON property provisioningTargetDisk
2259 2260 2261 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2259 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
2264 2265 2266 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2264 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2271 2272 2273 2274 2275 2276 2277 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2271 def update!(**args) = 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 |