Class: Google::Apis::VmmigrationV1alpha1::DiskMigrationStep

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

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.



2313
2314
2315
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2313

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

Instance Attribute Details

#copying_source_disk_snapshotGoogle::Apis::VmmigrationV1alpha1::CopyingSourceDiskSnapshotStep

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



2291
2292
2293
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2291

def copying_source_disk_snapshot
  @copying_source_disk_snapshot
end

#creating_source_disk_snapshotGoogle::Apis::VmmigrationV1alpha1::CreatingSourceDiskSnapshotStep

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



2296
2297
2298
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2296

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)


2301
2302
2303
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2301

def end_time
  @end_time
end

#provisioning_target_diskGoogle::Apis::VmmigrationV1alpha1::ProvisioningTargetDiskStep

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



2306
2307
2308
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2306

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)


2311
2312
2313
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2311

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2318
2319
2320
2321
2322
2323
2324
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2318

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