Google Cloud Network Management V1 Client - Class VpnGatewayInfo (1.1.1)

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 message google.cloud.networkmanagement.v1.VpnGatewayInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setDisplayName

Name of a VPN gateway.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

URI of a VPN gateway.

Returns
TypeDescription
string

setUri

URI of a VPN gateway.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetworkUri

URI of a Compute Engine network where the VPN gateway is configured.

Returns
TypeDescription
string

setNetworkUri

URI of a Compute Engine network where the VPN gateway is configured.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpAddress

IP address of the VPN gateway.

Returns
TypeDescription
string

setIpAddress

IP address of the VPN gateway.

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

getRegion

Name of a Google Cloud region where this VPN gateway is configured.

Returns
TypeDescription
string

setRegion

Name of a Google Cloud region where this VPN gateway is configured.

Parameter
NameDescription
var string
Returns
TypeDescription
$this