Class: Google::Apis::VmmigrationV1::DiskMigrationStep

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskMigrationStep

Returns a new instance of DiskMigrationStep.



2272
2273
2274
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2272

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

Instance Attribute Details

#copying_source_disk_snapshotGoogle::Apis::VmmigrationV1::CopyingSourceDiskSnapshotStep

CopyingSourceDiskSnapshotStep contains specific step details. Corresponds to the JSON property copyingSourceDiskSnapshot



2250
2251
2252
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2250

def copying_source_disk_snapshot
  @copying_source_disk_snapshot
end

#creating_source_disk_snapshotGoogle::Apis::VmmigrationV1::CreatingSourceDiskSnapshotStep

CreatingSourceDiskSnapshotStep contains specific step details. Corresponds to the JSON property creatingSourceDiskSnapshot



2255
2256
2257
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2255

def creating_source_disk_snapshot
  @creating_source_disk_snapshot
end

#end_timeString

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

Returns:

  • (String)


2260
2261
2262
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2260

def end_time
  @end_time
end

#provisioning_target_diskGoogle::Apis::VmmigrationV1::ProvisioningTargetDiskStep

ProvisioningTargetDiskStep contains specific step details. Corresponds to the JSON property provisioningTargetDisk



2265
2266
2267
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2265

def provisioning_target_disk
  @provisioning_target_disk
end

#start_timeString

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

Returns:

  • (String)


2270
2271
2272
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2270

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2277
2278
2279
2280
2281
2282
2283
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2277

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