Reference documentation and code samples for the Compute V1 Client class VpnGatewayVpnGatewayInterface.
A VPN gateway interface.
Generated from protobuf message google.cloud.compute.v1.VpnGatewayVpnGatewayInterface
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
int
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
↳ interconnect_attachment
string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
↳ ip_address
string
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
getId
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
Generated from protobuf field optional uint32 id = 3355;
int
hasId
clearId
setId
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
Generated from protobuf field optional uint32 id = 3355;
var
int
$this
getInterconnectAttachment
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
Generated from protobuf field optional string interconnect_attachment = 308135284;
string
hasInterconnectAttachment
clearInterconnectAttachment
setInterconnectAttachment
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
Generated from protobuf field optional string interconnect_attachment = 308135284;
var
string
$this
getIpAddress
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
Generated from protobuf field optional string ip_address = 406272220;
string
hasIpAddress
clearIpAddress
setIpAddress
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
Generated from protobuf field optional string ip_address = 406272220;
var
string
$this

