# Google Cloud Migration Center V1 Client - Class RuntimeNetworkInfo (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class RuntimeNetworkInfo.

Runtime networking information.

Generated from protobuf message `google.cloud.migrationcenter.v1.RuntimeNetworkInfo`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ scan_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Time of the last network scan. |
| `↳ connections` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.NetworkConnectionList` Network connections. |

### getScanTime

Time of the last network scan.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasScanTime

### clearScanTime

### setScanTime

Time of the last network scan.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getConnections

Network connections.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.NetworkConnectionList|null` |   |

### hasConnections

### clearConnections

### setConnections

Network connections.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.NetworkConnectionList` |

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