# Google Cloud Vm Migration V1 Client - Class ReplicatingStep (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 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`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setTotalBytes

Total bytes to be handled in the step.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReplicatedBytes

Replicated bytes in the step.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setReplicatedBytes

Replicated bytes in the step.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLastTwoMinutesAverageBytesPerSecond

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setLastTwoMinutesAverageBytesPerSecond

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLastThirtyMinutesAverageBytesPerSecond

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setLastThirtyMinutesAverageBytesPerSecond

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |