Google Cloud Network Management V1 Client - Class ProxyConnectionInfo (2.0.0-RC1)

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

For display only. Metadata associated with ProxyConnection.

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

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ protocol string

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

↳ old_source_ip string

Source IP address of an original connection.

↳ new_source_ip string

Source IP address of a new connection.

↳ old_destination_ip string

Destination IP address of an original connection

↳ new_destination_ip string

Destination IP address of a new connection.

↳ old_source_port int

Source port of an original connection. Only valid when protocol is TCP or UDP.

↳ new_source_port int

Source port of a new connection. Only valid when protocol is TCP or UDP.

↳ old_destination_port int

Destination port of an original connection. Only valid when protocol is TCP or UDP.

↳ new_destination_port int

Destination port of a new connection. Only valid when protocol is TCP or UDP.

↳ subnet_uri string

Uri of proxy subnet.

↳ network_uri string

URI of the network where connection is proxied.

getProtocol

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

Returns
Type Description
string

setProtocol

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

Parameter
Name Description
var string
Returns
Type Description
$this

getOldSourceIp

Source IP address of an original connection.

Returns
Type Description
string

setOldSourceIp

Source IP address of an original connection.

Parameter
Name Description
var string
Returns
Type Description
$this

getNewSourceIp

Source IP address of a new connection.

Returns
Type Description
string

setNewSourceIp

Source IP address of a new connection.

Parameter
Name Description
var string
Returns
Type Description
$this

getOldDestinationIp

Destination IP address of an original connection

Returns
Type Description
string

setOldDestinationIp

Destination IP address of an original connection

Parameter
Name Description
var string
Returns
Type Description
$this

getNewDestinationIp

Destination IP address of a new connection.

Returns
Type Description
string

setNewDestinationIp

Destination IP address of a new connection.

Parameter
Name Description
var string
Returns
Type Description
$this

getOldSourcePort

Source port of an original connection. Only valid when protocol is TCP or UDP.

Returns
Type Description
int

setOldSourcePort

Source port of an original connection. Only valid when protocol is TCP or UDP.

Parameter
Name Description
var int
Returns
Type Description
$this

getNewSourcePort

Source port of a new connection. Only valid when protocol is TCP or UDP.

Returns
Type Description
int

setNewSourcePort

Source port of a new connection. Only valid when protocol is TCP or UDP.

Parameter
Name Description
var int
Returns
Type Description
$this

getOldDestinationPort

Destination port of an original connection. Only valid when protocol is TCP or UDP.

Returns
Type Description
int

setOldDestinationPort

Destination port of an original connection. Only valid when protocol is TCP or UDP.

Parameter
Name Description
var int
Returns
Type Description
$this

getNewDestinationPort

Destination port of a new connection. Only valid when protocol is TCP or UDP.

Returns
Type Description
int

setNewDestinationPort

Destination port of a new connection. Only valid when protocol is TCP or UDP.

Parameter
Name Description
var int
Returns
Type Description
$this

getSubnetUri

Uri of proxy subnet.

Returns
Type Description
string

setSubnetUri

Uri of proxy subnet.

Parameter
Name Description
var string
Returns
Type Description
$this

getNetworkUri

URI of the network where connection is proxied.

Returns
Type Description
string

setNetworkUri

URI of the network where connection is proxied.

Parameter
Name Description
var string
Returns
Type Description
$this