Google Cloud Network Management V1 Client - Class VpnTunnelInfo (2.2.1)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class VpnTunnelInfo.

For display only. Metadata associated with a Compute Engine VPN tunnel.

Generated from protobuf message google.cloud.networkmanagement.v1.VpnTunnelInfo

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 tunnel.

↳ uri string

URI of a VPN tunnel.

↳ source_gateway string

URI of the VPN gateway at local end of the tunnel.

↳ remote_gateway string

URI of a VPN gateway at remote end of the tunnel.

↳ remote_gateway_ip string

Remote VPN gateway's IP address.

↳ source_gateway_ip string

Local VPN gateway's IP address.

↳ network_uri string

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

↳ region string

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

↳ routing_type int

Type of the routing policy.

getDisplayName

Name of a VPN tunnel.

Returns
Type Description
string

setDisplayName

Name of a VPN tunnel.

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

URI of a VPN tunnel.

Returns
Type Description
string

setUri

URI of a VPN tunnel.

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceGateway

URI of the VPN gateway at local end of the tunnel.

Returns
Type Description
string

setSourceGateway

URI of the VPN gateway at local end of the tunnel.

Parameter
Name Description
var string
Returns
Type Description
$this

getRemoteGateway

URI of a VPN gateway at remote end of the tunnel.

Returns
Type Description
string

setRemoteGateway

URI of a VPN gateway at remote end of the tunnel.

Parameter
Name Description
var string
Returns
Type Description
$this

getRemoteGatewayIp

Remote VPN gateway's IP address.

Returns
Type Description
string

setRemoteGatewayIp

Remote VPN gateway's IP address.

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceGatewayIp

Local VPN gateway's IP address.

Returns
Type Description
string

setSourceGatewayIp

Local VPN gateway's IP address.

Parameter
Name Description
var string
Returns
Type Description
$this

getNetworkUri

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

Returns
Type Description
string

setNetworkUri

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

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

Returns
Type Description
string

setRegion

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRoutingType

Type of the routing policy.

Returns
Type Description
int

setRoutingType

Type of the routing policy.

Parameter
Name Description
var int
Returns
Type Description
$this