# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::ProxyConnectionInfo (v2.11.0)

2.11.0 (latest) 2.10.1 2.9.0 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::ProxyConnectionInfo.

For display only. Metadata associated with ProxyConnection.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #network_uri

    def network_uri() -> ::String

**Returns**

- (::String) --- URI of the network where connection is proxied.

### #network_uri=

    def network_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the network where connection is proxied.
**Returns**

- (::String) --- URI of the network where connection is proxied.

### #new_destination_ip

    def new_destination_ip() -> ::String

**Returns**

- (::String) --- Destination IP address of a new connection.

### #new_destination_ip=

    def new_destination_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Destination IP address of a new connection.
**Returns**

- (::String) --- Destination IP address of a new connection.

### #new_destination_port

    def new_destination_port() -> ::Integer

**Returns**

- (::Integer) --- Destination port of a new connection. Only valid when protocol is TCP or UDP.

### #new_destination_port=

    def new_destination_port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Destination port of a new connection. Only valid when protocol is TCP or UDP.
**Returns**

- (::Integer) --- Destination port of a new connection. Only valid when protocol is TCP or UDP.

### #new_source_ip

    def new_source_ip() -> ::String

**Returns**

- (::String) --- Source IP address of a new connection.

### #new_source_ip=

    def new_source_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Source IP address of a new connection.
**Returns**

- (::String) --- Source IP address of a new connection.

### #new_source_port

    def new_source_port() -> ::Integer

**Returns**

- (::Integer) --- Source port of a new connection. Only valid when protocol is TCP or UDP.

### #new_source_port=

    def new_source_port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Source port of a new connection. Only valid when protocol is TCP or UDP.
**Returns**

- (::Integer) --- Source port of a new connection. Only valid when protocol is TCP or UDP.

### #old_destination_ip

    def old_destination_ip() -> ::String

**Returns**

- (::String) --- Destination IP address of an original connection

### #old_destination_ip=

    def old_destination_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Destination IP address of an original connection
**Returns**

- (::String) --- Destination IP address of an original connection

### #old_destination_port

    def old_destination_port() -> ::Integer

**Returns**

- (::Integer) --- Destination port of an original connection. Only valid when protocol is TCP or UDP.

### #old_destination_port=

    def old_destination_port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Destination port of an original connection. Only valid when protocol is TCP or UDP.
**Returns**

- (::Integer) --- Destination port of an original connection. Only valid when protocol is TCP or UDP.

### #old_source_ip

    def old_source_ip() -> ::String

**Returns**

- (::String) --- Source IP address of an original connection.

### #old_source_ip=

    def old_source_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Source IP address of an original connection.
**Returns**

- (::String) --- Source IP address of an original connection.

### #old_source_port

    def old_source_port() -> ::Integer

**Returns**

- (::Integer) --- Source port of an original connection. Only valid when protocol is TCP or UDP.

### #old_source_port=

    def old_source_port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Source port of an original connection. Only valid when protocol is TCP or UDP.
**Returns**

- (::Integer) --- Source port of an original connection. Only valid when protocol is TCP or UDP.

### #protocol

    def protocol() -> ::String

**Returns**

- (::String) --- IP protocol in string format, for example: "TCP", "UDP", "ICMP".

### #protocol=

    def protocol=(value) -> ::String

**Parameter**

- **value** (::String) --- IP protocol in string format, for example: "TCP", "UDP", "ICMP".
**Returns**

- (::String) --- IP protocol in string format, for example: "TCP", "UDP", "ICMP".

### #subnet_uri

    def subnet_uri() -> ::String

**Returns**

- (::String) --- Uri of proxy subnet.

### #subnet_uri=

    def subnet_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Uri of proxy subnet.
**Returns**

- (::String) --- Uri of proxy subnet.