Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::ReplicationCycle (v1.0.2)

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

#end_time=

def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#error

def error() -> ::Google::Rpc::Status
Returns

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
Returns

#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

#start_time=

def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#state

def state() -> ::Google::Cloud::VMMigration::V1::ReplicationCycle::State
Returns

#state=

def state=(value) -> ::Google::Cloud::VMMigration::V1::ReplicationCycle::State
Parameter
Returns

#steps

def steps() -> ::Array<::Google::Cloud::VMMigration::V1::CycleStep>
Returns

#steps=

def steps=(value) -> ::Array<::Google::Cloud::VMMigration::V1::CycleStep>
Parameter
Returns

#total_pause_duration

def total_pause_duration() -> ::Google::Protobuf::Duration
Returns

#total_pause_duration=

def total_pause_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns