Class: Google::Apis::VmmigrationV1::CycleStep

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

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.



1078
1079
1080
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1078

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)


1056
1057
1058
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1056

def end_time
  @end_time
end

#initializing_replicationGoogle::Apis::VmmigrationV1::InitializingReplicationStep

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



1061
1062
1063
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1061

def initializing_replication
  @initializing_replication
end

#post_processingGoogle::Apis::VmmigrationV1::PostProcessingStep

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



1066
1067
1068
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1066

def post_processing
  @post_processing
end

#replicatingGoogle::Apis::VmmigrationV1::ReplicatingStep

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



1071
1072
1073
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1071

def replicating
  @replicating
end

#start_timeString

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

Returns:

  • (String)


1076
1077
1078
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1076

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1083
1084
1085
1086
1087
1088
1089
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1083

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