Reference documentation and code samples for the Compute V1 Client class VpnGatewayStatusTunnel.
Contains some information about a VPN tunnel.
Generated from protobuf message google.cloud.compute.v1.VpnGatewayStatusTunnel
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ local_gateway_interface |
int
The VPN gateway interface this VPN tunnel is associated with. |
↳ peer_gateway_interface |
int
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway. |
↳ tunnel_url |
string
URL reference to the VPN tunnel. |
getLocalGatewayInterface
The VPN gateway interface this VPN tunnel is associated with.
Returns | |
---|---|
Type | Description |
int |
hasLocalGatewayInterface
clearLocalGatewayInterface
setLocalGatewayInterface
The VPN gateway interface this VPN tunnel is associated with.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPeerGatewayInterface
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
Returns | |
---|---|
Type | Description |
int |
hasPeerGatewayInterface
clearPeerGatewayInterface
setPeerGatewayInterface
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getTunnelUrl
URL reference to the VPN tunnel.
Returns | |
---|---|
Type | Description |
string |
hasTunnelUrl
clearTunnelUrl
setTunnelUrl
URL reference to the VPN tunnel.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |