Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::ReplicationCycle.
ReplicationCycle contains information about the current replication cycle status.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cycle_number
def cycle_number() -> ::Integer
Returns
- (::Integer) — The cycle's ordinal number.
#cycle_number=
def cycle_number=(value) -> ::Integer
Parameter
- value (::Integer) — The cycle's ordinal number.
Returns
- (::Integer) — The cycle's ordinal number.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the replication cycle has ended.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the replication cycle has ended.
Returns
- (::Google::Protobuf::Timestamp) — The time the replication cycle has ended.
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Provides details on the state of the cycle in case of an error.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Provides details on the state of the cycle in case of an error.
Returns
- (::Google::Rpc::Status) — Provides details on the state of the cycle in case of an error.
#name
def name() -> ::String
Returns
- (::String) — The identifier of the ReplicationCycle.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The identifier of the ReplicationCycle.
Returns
- (::String) — The identifier of the ReplicationCycle.
#progress_percent
def progress_percent() -> ::Integer
Returns
- (::Integer) — The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.
#progress_percent=
def progress_percent=(value) -> ::Integer
Parameter
- value (::Integer) — The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.
Returns
- (::Integer) — The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the replication cycle has started.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the replication cycle has started.
Returns
- (::Google::Protobuf::Timestamp) — The time the replication cycle has started.
#state
def state() -> ::Google::Cloud::VMMigration::V1::ReplicationCycle::State
Returns
- (::Google::Cloud::VMMigration::V1::ReplicationCycle::State) — State of the ReplicationCycle.
#state=
def state=(value) -> ::Google::Cloud::VMMigration::V1::ReplicationCycle::State
Parameter
- value (::Google::Cloud::VMMigration::V1::ReplicationCycle::State) — State of the ReplicationCycle.
Returns
- (::Google::Cloud::VMMigration::V1::ReplicationCycle::State) — State of the ReplicationCycle.
#steps
def steps() -> ::Array<::Google::Cloud::VMMigration::V1::CycleStep>
Returns
- (::Array<::Google::Cloud::VMMigration::V1::CycleStep>) — The cycle's steps list representing its progress.
#steps=
def steps=(value) -> ::Array<::Google::Cloud::VMMigration::V1::CycleStep>
Parameter
- value (::Array<::Google::Cloud::VMMigration::V1::CycleStep>) — The cycle's steps list representing its progress.
Returns
- (::Array<::Google::Cloud::VMMigration::V1::CycleStep>) — The cycle's steps list representing its progress.
#total_pause_duration
def total_pause_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The accumulated duration the replication cycle was paused.
#total_pause_duration=
def total_pause_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The accumulated duration the replication cycle was paused.
Returns
- (::Google::Protobuf::Duration) — The accumulated duration the replication cycle was paused.