Google Cloud Vm Migration V1 Client - Class ReplicatingStep (0.3.2)

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

ReplicatingStep contains specific step details.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ total_bytes int|string

Total bytes to be handled in the step.

↳ replicated_bytes int|string

Replicated bytes in the step.

↳ last_two_minutes_average_bytes_per_second int|string

The source disks replication rate for the last 2 minutes in bytes per second.

↳ last_thirty_minutes_average_bytes_per_second int|string

The source disks replication rate for the last 30 minutes in bytes per second.

getTotalBytes

Total bytes to be handled in the step.

Returns
TypeDescription
int|string

setTotalBytes

Total bytes to be handled in the step.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getReplicatedBytes

Replicated bytes in the step.

Returns
TypeDescription
int|string

setReplicatedBytes

Replicated bytes in the step.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getLastTwoMinutesAverageBytesPerSecond

The source disks replication rate for the last 2 minutes in bytes per second.

Returns
TypeDescription
int|string

setLastTwoMinutesAverageBytesPerSecond

The source disks replication rate for the last 2 minutes in bytes per second.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getLastThirtyMinutesAverageBytesPerSecond

The source disks replication rate for the last 30 minutes in bytes per second.

Returns
TypeDescription
int|string

setLastThirtyMinutesAverageBytesPerSecond

The source disks replication rate for the last 30 minutes in bytes per second.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this