Reference documentation and code samples for the Google Cloud Network Management V1 Client class VpnGatewayInfo.
For display only. Metadata associated with a Compute Engine VPN gateway.
Generated from protobuf messagegoogle.cloud.networkmanagement.v1.VpnGatewayInfo
Namespace
Google \ Cloud \ NetworkManagement \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ display_name
string
Name of a VPN gateway.
↳ uri
string
URI of a VPN gateway.
↳ network_uri
string
URI of a Compute Engine network where the VPN gateway is configured.
↳ ip_address
string
IP address of the VPN gateway.
↳ vpn_tunnel_uri
string
A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.
↳ region
string
Name of a Google Cloud region where this VPN gateway is configured.
getDisplayName
Name of a VPN gateway.
Returns
Type
Description
string
setDisplayName
Name of a VPN gateway.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUri
URI of a VPN gateway.
Returns
Type
Description
string
setUri
URI of a VPN gateway.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getNetworkUri
URI of a Compute Engine network where the VPN gateway is configured.
Returns
Type
Description
string
setNetworkUri
URI of a Compute Engine network where the VPN gateway is configured.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getIpAddress
IP address of the VPN gateway.
Returns
Type
Description
string
setIpAddress
IP address of the VPN gateway.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getVpnTunnelUri
A VPN tunnel that is associated with this VPN gateway.
There may be multiple VPN tunnels configured on a VPN gateway, and only
the one relevant to the test is displayed.
Returns
Type
Description
string
setVpnTunnelUri
A VPN tunnel that is associated with this VPN gateway.
There may be multiple VPN tunnels configured on a VPN gateway, and only
the one relevant to the test is displayed.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRegion
Name of a Google Cloud region where this VPN gateway is configured.
Returns
Type
Description
string
setRegion
Name of a Google Cloud region where this VPN gateway is configured.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Management V1 Client - Class VpnGatewayInfo (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-network-management/latest/V1.VpnGatewayInfo)\n- [2.4.2](/php/docs/reference/cloud-network-management/2.4.2/V1.VpnGatewayInfo)\n- [2.3.2](/php/docs/reference/cloud-network-management/2.3.2/V1.VpnGatewayInfo)\n- [2.2.1](/php/docs/reference/cloud-network-management/2.2.1/V1.VpnGatewayInfo)\n- [2.1.1](/php/docs/reference/cloud-network-management/2.1.1/V1.VpnGatewayInfo)\n- [2.0.1](/php/docs/reference/cloud-network-management/2.0.1/V1.VpnGatewayInfo)\n- [1.7.3](/php/docs/reference/cloud-network-management/1.7.3/V1.VpnGatewayInfo)\n- [1.5.0](/php/docs/reference/cloud-network-management/1.5.0/V1.VpnGatewayInfo)\n- [1.4.2](/php/docs/reference/cloud-network-management/1.4.2/V1.VpnGatewayInfo)\n- [1.3.0](/php/docs/reference/cloud-network-management/1.3.0/V1.VpnGatewayInfo)\n- [1.2.0](/php/docs/reference/cloud-network-management/1.2.0/V1.VpnGatewayInfo)\n- [1.1.1](/php/docs/reference/cloud-network-management/1.1.1/V1.VpnGatewayInfo)\n- [1.0.5](/php/docs/reference/cloud-network-management/1.0.5/V1.VpnGatewayInfo) \nReference documentation and code samples for the Google Cloud Network Management V1 Client class VpnGatewayInfo.\n\nFor display only. Metadata associated with a Compute Engine VPN gateway.\n\nGenerated from protobuf message `google.cloud.networkmanagement.v1.VpnGatewayInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDisplayName\n\nName of a VPN gateway.\n\n### setDisplayName\n\nName of a VPN gateway.\n\n### getUri\n\nURI of a VPN gateway.\n\n### setUri\n\nURI of a VPN gateway.\n\n### getNetworkUri\n\nURI of a Compute Engine network where the VPN gateway is configured.\n\n### setNetworkUri\n\nURI of a Compute Engine network where the VPN gateway is configured.\n\n### getIpAddress\n\nIP address of the VPN gateway.\n\n### setIpAddress\n\nIP address of the VPN gateway.\n\n### getVpnTunnelUri\n\nA VPN tunnel that is associated with this VPN gateway.\n\nThere may be multiple VPN tunnels configured on a VPN gateway, and only\nthe one relevant to the test is displayed.\n\n### setVpnTunnelUri\n\nA VPN tunnel that is associated with this VPN gateway.\n\nThere may be multiple VPN tunnels configured on a VPN gateway, and only\nthe one relevant to the test is displayed.\n\n### getRegion\n\nName of a Google Cloud region where this VPN gateway is configured.\n\n### setRegion\n\nName of a Google Cloud region where this VPN gateway is configured."]]