Class: Google::Apis::VmmigrationV1alpha1::ImageImportStep

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

ImageImportStep holds information about the image import step progress.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImageImportStep

Returns a new instance of ImageImportStep.



2403
2404
2405
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2403

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

Instance Attribute Details

#adapting_osGoogle::Apis::VmmigrationV1alpha1::AdaptingOsStep

AdaptingOSStep contains specific step details. Corresponds to the JSON property adaptingOs



2376
2377
2378
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2376

def adapting_os
  @adapting_os
end

#creating_imageGoogle::Apis::VmmigrationV1alpha1::CreatingImageStep

CreatingImageStep contains specific step details. Corresponds to the JSON property creatingImage



2381
2382
2383
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2381

def creating_image
  @creating_image
end

#end_timeString

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

Returns:

  • (String)


2386
2387
2388
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2386

def end_time
  @end_time
end

#initializingGoogle::Apis::VmmigrationV1alpha1::InitializingImageImportStep

InitializingImageImportStep contains specific step details. Corresponds to the JSON property initializing



2391
2392
2393
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2391

def initializing
  @initializing
end

#loading_source_filesGoogle::Apis::VmmigrationV1alpha1::LoadingImageSourceFilesStep

LoadingImageSourceFilesStep contains specific step details. Corresponds to the JSON property loadingSourceFiles



2396
2397
2398
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2396

def loading_source_files
  @loading_source_files
end

#start_timeString

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

Returns:

  • (String)


2401
2402
2403
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2401

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2408
2409
2410
2411
2412
2413
2414
2415
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2408

def update!(**args)
  @adapting_os = args[:adapting_os] if args.key?(:adapting_os)
  @creating_image = args[:creating_image] if args.key?(:creating_image)
  @end_time = args[:end_time] if args.key?(:end_time)
  @initializing = args[:initializing] if args.key?(:initializing)
  @loading_source_files = args[:loading_source_files] if args.key?(:loading_source_files)
  @start_time = args[:start_time] if args.key?(:start_time)
end