Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class LinkedVpcNetwork.
An existing VPC network.
Generated from protobuf messagegoogle.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
array
Optional. IP ranges encompassing the subnets to be excluded from peering.
↳ include_export_ranges
array
Optional. IP ranges allowed to be included from peering.
↳ proposed_include_export_ranges
array
Optional. The proposed include export IP ranges waiting for hub administration's approval.
↳ proposed_exclude_export_ranges
array
Output only. The proposed exclude export IP ranges waiting for hub administration's approval.
↳ producer_vpc_spokes
array
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class LinkedVpcNetwork (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.LinkedVpcNetwork)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.LinkedVpcNetwork)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.LinkedVpcNetwork)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.LinkedVpcNetwork)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.LinkedVpcNetwork)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.LinkedVpcNetwork)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.LinkedVpcNetwork)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.LinkedVpcNetwork)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.LinkedVpcNetwork)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.LinkedVpcNetwork) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class LinkedVpcNetwork.\n\nAn existing VPC network.\n\nGenerated from protobuf message `google.cloud.networkconnectivity.v1.LinkedVpcNetwork`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUri\n\nRequired. The URI of the VPC network resource.\n\n### setUri\n\nRequired. The URI of the VPC network resource.\n\n### getExcludeExportRanges\n\nOptional. IP ranges encompassing the subnets to be excluded from peering.\n\n### setExcludeExportRanges\n\nOptional. IP ranges encompassing the subnets to be excluded from peering.\n\n### getIncludeExportRanges\n\nOptional. IP ranges allowed to be included from peering.\n\n### setIncludeExportRanges\n\nOptional. IP ranges allowed to be included from peering.\n\n### getProposedIncludeExportRanges\n\nOptional. The proposed include export IP ranges waiting for hub\nadministration's approval.\n\n### setProposedIncludeExportRanges\n\nOptional. The proposed include export IP ranges waiting for hub\nadministration's approval.\n\n### getProposedExcludeExportRanges\n\nOutput only. The proposed exclude export IP ranges waiting for hub\nadministration's approval.\n\n### setProposedExcludeExportRanges\n\nOutput only. The proposed exclude export IP ranges waiting for hub\nadministration's approval.\n\n### getProducerVpcSpokes\n\nOutput only. The list of Producer VPC spokes that this VPC spoke is a\nservice consumer VPC spoke for. These producer VPCs are connected through\nVPC peering to this spoke's backing VPC network. Because they are directly\nconnected throuh VPC peering, NCC export filters do not apply between the\nservice consumer VPC spoke and any of its producer VPC spokes. This VPC\nspoke cannot be deleted as long as any of these producer VPC spokes are\nconnected to the NCC Hub.\n\n### setProducerVpcSpokes\n\nOutput only. The list of Producer VPC spokes that this VPC spoke is a\nservice consumer VPC spoke for. These producer VPCs are connected through\nVPC peering to this spoke's backing VPC network. Because they are directly\nconnected throuh VPC peering, NCC export filters do not apply between the\nservice consumer VPC spoke and any of its producer VPC spokes. This VPC\nspoke cannot be deleted as long as any of these producer VPC spokes are\nconnected to the NCC Hub."]]