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