Google Cloud Vm Migration V1 Client - Class ReplicationCycle (0.2.3)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ReplicationCycle.

ReplicationCycle contains information about the current replication cycle status.

Generated from protobuf message google.cloud.vmmigration.v1.ReplicationCycle

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

The time the replication cycle has started.

↳ progress_percent int

The current progress in percentage of this cycle.

getStartTime

The time the replication cycle has started.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The time the replication cycle has started.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getProgressPercent

The current progress in percentage of this cycle.

Returns
Type Description
int

setProgressPercent

The current progress in percentage of this cycle.

Parameter
Name Description
var int
Returns
Type Description
$this