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 \ V1Methods
__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. |
↳ 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. |
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 |
Google\Protobuf\Internal\RepeatedField |
|
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 |
Google\Protobuf\Internal\RepeatedField |
|
setIncludeExportRanges
Optional. IP ranges allowed to be included from peering.
| 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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|