Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class RoutingVPC.
RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.
Generated from protobuf message google.cloud.networkconnectivity.v1.RoutingVPC
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
The URI of the VPC network. |
↳ required_for_new_site_to_site_data_transfer_spokes |
bool
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |