Output 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 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.
Returns
Type
Description
bool
setRequiredForNewSiteToSiteDataTransferSpokes
Output 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.
[[["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-08-28 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class RoutingVPC (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.RoutingVPC)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.RoutingVPC)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.RoutingVPC)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.RoutingVPC)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.RoutingVPC)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.RoutingVPC)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.RoutingVPC)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.RoutingVPC)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.RoutingVPC)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.RoutingVPC) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class RoutingVPC.\n\nRoutingVPC contains information about the VPC networks associated\nwith the spokes of a Network Connectivity Center hub.\n\nGenerated from protobuf message `google.cloud.networkconnectivity.v1.RoutingVPC`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUri\n\nThe URI of the VPC network.\n\n### setUri\n\nThe URI of the VPC network.\n\n### getRequiredForNewSiteToSiteDataTransferSpokes\n\nOutput only. If true, indicates that this VPC network is currently\nassociated with spokes that use the data transfer feature (spokes where the\nsite_to_site_data_transfer field is set to true). If you create new spokes\nthat use data transfer, they must be associated with this VPC network. At\nmost, one VPC network will have this field set to true.\n\n### setRequiredForNewSiteToSiteDataTransferSpokes\n\nOutput only. If true, indicates that this VPC network is currently\nassociated with spokes that use the data transfer feature (spokes where the\nsite_to_site_data_transfer field is set to true). If you create new spokes\nthat use data transfer, they must be associated with this VPC network. At\nmost, one VPC network will have this field set to true."]]