# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::EndpointInfo (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::EndpointInfo.

For display only. The specification of the endpoints for the test.
EndpointInfo is derived from source and destination Endpoint and validated
by the backend data plane model.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #destination_ip

    def destination_ip() -> ::String

**Returns**

- (::String) --- Destination IP address.

### #destination_ip=

    def destination_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Destination IP address.
**Returns**

- (::String) --- Destination IP address.

### #destination_network_uri

    def destination_network_uri() -> ::String

**Returns**

- (::String) --- URI of the network where this packet is sent to.

### #destination_network_uri=

    def destination_network_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the network where this packet is sent to.
**Returns**

- (::String) --- URI of the network where this packet is sent to.

### #destination_port

    def destination_port() -> ::Integer

**Returns**

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

### #destination_port=

    def destination_port=(value) -> ::Integer

**Parameter**

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

- (::Integer) --- Destination port. 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".

### #source_agent_uri

    def source_agent_uri() -> ::String

**Returns**

- (::String) --- URI of the source telemetry agent this packet originates from.

### #source_agent_uri=

    def source_agent_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the source telemetry agent this packet originates from.
**Returns**

- (::String) --- URI of the source telemetry agent this packet originates from.

### #source_ip

    def source_ip() -> ::String

**Returns**

- (::String) --- Source IP address.

### #source_ip=

    def source_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Source IP address.
**Returns**

- (::String) --- Source IP address.

### #source_network_uri

    def source_network_uri() -> ::String

**Returns**

- (::String) --- URI of the network where this packet originates from.

### #source_network_uri=

    def source_network_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the network where this packet originates from.
**Returns**

- (::String) --- URI of the network where this packet originates from.

### #source_port

    def source_port() -> ::Integer

**Returns**

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

### #source_port=

    def source_port=(value) -> ::Integer

**Parameter**

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

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