# Google Cloud Network Connectivity V1 Client - Class LinkedVpcNetwork (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class LinkedVpcNetwork.

An existing VPC network.

Generated from protobuf message `google.cloud.networkconnectivity.v1.LinkedVpcNetwork`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Required. The URI of the VPC network resource. |
| `↳ exclude_export_ranges` | `string[]` Optional. IP ranges encompassing the subnets to be excluded from peering. |
| `↳ include_export_ranges` | `string[]` Optional. IP ranges allowed to be included from peering. |
| `↳ proposed_include_export_ranges` | `string[]` Optional. The proposed include export IP ranges waiting for hub administration's approval. |
| `↳ proposed_exclude_export_ranges` | `string[]` Output only. The proposed exclude export IP ranges waiting for hub administration's approval. |
| `↳ producer_vpc_spokes` | `string[]` Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network. Because they are directly connected throuh VPC peering, NCC export filters do not apply between the service consumer VPC spoke and any of its producer VPC spokes. This VPC spoke cannot be deleted as long as any of these producer VPC spokes are connected to the NCC Hub. |

### getUri

Required. The URI of the VPC network resource.

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

### setUri

Required. The URI of the VPC network resource.

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

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

### getExcludeExportRanges

Optional. IP ranges encompassing the subnets to be excluded from peering.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setExcludeExportRanges

Optional. IP ranges encompassing the subnets to be excluded from peering.

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

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

### getIncludeExportRanges

Optional. IP ranges allowed to be included from peering.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setIncludeExportRanges

Optional. IP ranges allowed to be included from peering.

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

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

### getProposedIncludeExportRanges

Optional. The proposed include export IP ranges waiting for hub
administration's approval.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setProposedIncludeExportRanges

Optional. The proposed include export IP ranges waiting for hub
administration's approval.

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

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

### getProposedExcludeExportRanges

Output only. The proposed exclude export IP ranges waiting for hub
administration's approval.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setProposedExcludeExportRanges

Output only. The proposed exclude export IP ranges waiting for hub
administration's approval.

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

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

### getProducerVpcSpokes

Output only. The list of Producer VPC spokes that this VPC spoke is a
service consumer VPC spoke for. These producer VPCs are connected through
VPC peering to this spoke's backing VPC network. Because they are directly
connected throuh VPC peering, NCC export filters do not apply between the
service consumer VPC spoke and any of its producer VPC spokes. This VPC
spoke cannot be deleted as long as any of these producer VPC spokes are
connected to the NCC Hub.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setProducerVpcSpokes

Output only. The list of Producer VPC spokes that this VPC spoke is a
service consumer VPC spoke for. These producer VPCs are connected through
VPC peering to this spoke's backing VPC network. Because they are directly
connected throuh VPC peering, NCC export filters do not apply between the
service consumer VPC spoke and any of its producer VPC spokes. This VPC
spoke cannot be deleted as long as any of these producer VPC spokes are
connected to the NCC Hub.

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

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