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.
Generated from protobuf field optional uint32 local_gateway_interface = 158764330;
Returns | |
---|---|
Type | Description |
int |
hasLocalGatewayInterface
clearLocalGatewayInterface
setLocalGatewayInterface
The VPN gateway interface this VPN tunnel is associated with.
Generated from protobuf field optional uint32 local_gateway_interface = 158764330;
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.
Generated from protobuf field optional uint32 peer_gateway_interface = 214380385;
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.
Generated from protobuf field optional uint32 peer_gateway_interface = 214380385;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getTunnelUrl
URL reference to the VPN tunnel.
Generated from protobuf field optional string tunnel_url = 78975256;
Returns | |
---|---|
Type | Description |
string |
hasTunnelUrl
clearTunnelUrl
setTunnelUrl
URL reference to the VPN tunnel.
Generated from protobuf field optional string tunnel_url = 78975256;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |