Google Cloud Network Connectivity V1 Client - Class RoutingVPC (1.1.1)

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setUri

The URI of the VPC network.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this