Compute V1 Client - Class VpnGatewayStatusTunnel (1.5.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getTunnelUrl

URL reference to the VPN tunnel.

Generated from protobuf field optional string tunnel_url = 78975256;

Returns
TypeDescription
string

hasTunnelUrl

clearTunnelUrl

setTunnelUrl

URL reference to the VPN tunnel.

Generated from protobuf field optional string tunnel_url = 78975256;

Parameter
NameDescription
var string
Returns
TypeDescription
$this