# Google Cloud Video Live Stream V1 Client - Class NetworkConfig (1.4.0)

1.4.0 (latest) 1.3.2 1.2.1 1.1.3 1.0.0 0.7.5 0.6.2 0.5.0 0.4.2 0.3.2 0.2.6 Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class NetworkConfig.

Defines the network configuration for the pool.

Generated from protobuf message `google.cloud.video.livestream.v1.Pool.NetworkConfig`

## Namespace

Google \\ Cloud \\ Video \\ LiveStream \\ V1 \\ Pool

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ peered_network` | `string` peered_network is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peered_network is omitted or empty, the pool will use endpoints that are publicly available. |

### getPeeredNetwork

peered_network is the network resource URL of the network that is peered
to the service provider network. Must be of the format
projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where
NETWORK_PROJECT_NUMBER is the project number of the Cloud project that
holds your VPC network and NETWORK_NAME is the name of your VPC network.

If peered_network is omitted or empty, the pool will use endpoints that
are publicly available.

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

### setPeeredNetwork

peered_network is the network resource URL of the network that is peered
to the service provider network. Must be of the format
projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where
NETWORK_PROJECT_NUMBER is the project number of the Cloud project that
holds your VPC network and NETWORK_NAME is the name of your VPC network.

If peered_network is omitted or empty, the pool will use endpoints that
are publicly available.

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

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