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.
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.
int
hasLocalGatewayInterface
clearLocalGatewayInterface
setLocalGatewayInterface
The VPN gateway interface this VPN tunnel is associated with.
var
int
$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.
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.
var
int
$this
getTunnelUrl
URL reference to the VPN tunnel.
string
hasTunnelUrl
clearTunnelUrl
setTunnelUrl
URL reference to the VPN tunnel.
var
string
$this