Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class NextHopVPNTunnel.
A route next hop that leads to a VPN tunnel resource.
Generated from protobuf message google.cloud.networkconnectivity.v1.NextHopVPNTunnel
Namespace
Google \ Cloud \ NetworkConnectivity \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
The URI of the VPN tunnel resource. |
↳ vpc_network |
string
The VPC network where this VPN tunnel is located. |
↳ site_to_site_data_transfer |
bool
Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in supported locations. |
getUri
The URI of the VPN tunnel resource.
Returns | |
---|---|
Type | Description |
string |
setUri
The URI of the VPN tunnel resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVpcNetwork
The VPC network where this VPN tunnel is located.
Returns | |
---|---|
Type | Description |
string |
setVpcNetwork
The VPC network where this VPN tunnel is located.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSiteToSiteDataTransfer
Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in supported locations.
Returns | |
---|---|
Type | Description |
bool |
setSiteToSiteDataTransfer
Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in supported locations.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |