Google Cloud Network Connectivity V1 Client - Class LinkedVpnTunnels (1.0.5)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class LinkedVpnTunnels.

A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.

Generated from protobuf message google.cloud.networkconnectivity.v1.LinkedVpnTunnels

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uris array

The URIs of linked VPN tunnel resources.

↳ site_to_site_data_transfer bool

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

↳ vpc_network string

Output only. The VPC network where these VPN tunnels are located.

getUris

The URIs of linked VPN tunnel resources.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUris

The URIs of linked VPN tunnel resources.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSiteToSiteDataTransfer

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

Returns
TypeDescription
bool

setSiteToSiteDataTransfer

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getVpcNetwork

Output only. The VPC network where these VPN tunnels are located.

Returns
TypeDescription
string

setVpcNetwork

Output only. The VPC network where these VPN tunnels are located.

Parameter
NameDescription
var string
Returns
TypeDescription
$this