Class: Google::Apis::VmmigrationV1alpha1::CycleStep

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

CycleStep holds information about a step progress.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CycleStep

Returns a new instance of CycleStep.



1230
1231
1232
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1230

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

Instance Attribute Details

#end_timeString

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

Returns:

  • (String)


1208
1209
1210
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1208

def end_time
  @end_time
end

#initializing_replicationGoogle::Apis::VmmigrationV1alpha1::InitializingReplicationStep

InitializingReplicationStep contains specific step details. Corresponds to the JSON property initializingReplication



1213
1214
1215
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1213

def initializing_replication
  @initializing_replication
end

#post_processingGoogle::Apis::VmmigrationV1alpha1::PostProcessingStep

PostProcessingStep contains specific step details. Corresponds to the JSON property postProcessing



1218
1219
1220
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1218

def post_processing
  @post_processing
end

#replicatingGoogle::Apis::VmmigrationV1alpha1::ReplicatingStep

ReplicatingStep contains specific step details. Corresponds to the JSON property replicating



1223
1224
1225
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1223

def replicating
  @replicating
end

#start_timeString

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

Returns:

  • (String)


1228
1229
1230
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1228

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1235
1236
1237
1238
1239
1240
1241
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1235

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @initializing_replication = args[:initializing_replication] if args.key?(:initializing_replication)
  @post_processing = args[:post_processing] if args.key?(:post_processing)
  @replicating = args[:replicating] if args.key?(:replicating)
  @start_time = args[:start_time] if args.key?(:start_time)
end