Google Cloud Network Connectivity V1 Client - Class RoutingVPC (2.5.2) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class RoutingVPC.
RoutingVPC contains information about the VPC networks associatedwith the spokes of a Network Connectivity Center hub.
Generated from protobuf messagegoogle.cloud.networkconnectivity.v1.RoutingVPC
Namespace
Google \ Cloud \ NetworkConnectivity \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ uri | stringThe URI of the VPC network. |
↳ required_for_new_site_to_site_data_transfer_spokes | boolOutput only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true. |
getUri
The URI of the VPC network.
| Returns | |
|---|---|
| Type | Description |
string | |
setUri
The URI of the VPC network.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getRequiredForNewSiteToSiteDataTransferSpokes
Output only. If true, indicates that this VPC network is currentlyassociated with spokes that use the data transfer feature (spokes where thesite_to_site_data_transfer field is set to true). If you create new spokesthat use data transfer, they must be associated with this VPC network. Atmost, one VPC network will have this field set to true.
| Returns | |
|---|---|
| Type | Description |
bool | |
setRequiredForNewSiteToSiteDataTransferSpokes
Output only. If true, indicates that this VPC network is currentlyassociated with spokes that use the data transfer feature (spokes where thesite_to_site_data_transfer field is set to true). If you create new spokesthat use data transfer, they must be associated with this VPC network. Atmost, one VPC network will have this field set to true.
| Parameter | |
|---|---|
| Name | Description |
var | bool |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.