# Google Cloud Network Connectivity V1 Client - Class LinkedProducerVpcNetwork (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 LinkedProducerVpcNetwork.

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

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ network` | `string` Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with. |
| `↳ service_consumer_vpc_spoke` | `string` Output only. The Service Consumer Network spoke. |
| `↳ peering` | `string` Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state. |
| `↳ producer_network` | `string` Output only. The URI of the Producer VPC. |
| `↳ 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. |

### getNetwork

Immutable. The URI of the Service Consumer VPC that the Producer VPC is
peered with.

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

### setNetwork

Immutable. The URI of the Service Consumer VPC that the Producer VPC is
peered with.

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

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

### getServiceConsumerVpcSpoke

Output only. The Service Consumer Network spoke.

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

### setServiceConsumerVpcSpoke

Output only. The Service Consumer Network spoke.

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

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

### getPeering

Immutable. The name of the VPC peering between the Service Consumer VPC and
the Producer VPC (defined in the Tenant project) which is added to the NCC
hub. This peering must be in ACTIVE state.

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

### setPeering

Immutable. The name of the VPC peering between the Service Consumer VPC and
the Producer VPC (defined in the Tenant project) which is added to the NCC
hub. This peering must be in ACTIVE state.

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

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

### getProducerNetwork

Output only. The URI of the Producer VPC.

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

### setProducerNetwork

Output only. The URI of the Producer VPC.

| **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` |   |