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

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

setDisplayName

Name of a VPN tunnel.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

URI of a VPN tunnel.

Returns
TypeDescription
string

setUri

URI of a VPN tunnel.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceGateway

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

Returns
TypeDescription
string

setSourceGateway

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRemoteGateway

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

Returns
TypeDescription
string

setRemoteGateway

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRemoteGatewayIp

Remote VPN gateway's IP address.

Returns
TypeDescription
string

setRemoteGatewayIp

Remote VPN gateway's IP address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceGatewayIp

Local VPN gateway's IP address.

Returns
TypeDescription
string

setSourceGatewayIp

Local VPN gateway's IP address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetworkUri

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

Returns
TypeDescription
string

setNetworkUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegion

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

Returns
TypeDescription
string

setRegion

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRoutingType

Type of the routing policy.

Returns
TypeDescription
int

setRoutingType

Type of the routing policy.

Parameter
NameDescription
var int
Returns
TypeDescription
$this