Reference documentation and code samples for the Google Cloud Network Management V1 Client class 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.
Generated from protobuf message google.cloud.networkmanagement.v1.EndpointInfo
Namespace
Google \ Cloud \ NetworkManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_ip
string
Source IP address.
↳ destination_ip
string
Destination IP address.
↳ protocol
string
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
↳ source_port
int
Source port. Only valid when protocol is TCP or UDP.
↳ destination_port
int
Destination port. Only valid when protocol is TCP or UDP.
↳ source_network_uri
string
URI of the network where this packet originates from.
↳ destination_network_uri
string
URI of the network where this packet is sent to.
↳ source_agent_uri
string
URI of the source telemetry agent this packet originates from.
getSourceIp
Source IP address.
string
setSourceIp
Source IP address.
var
string
$this
getDestinationIp
Destination IP address.
string
setDestinationIp
Destination IP address.
var
string
$this
getProtocol
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
string
setProtocol
IP protocol in string format, for example: "TCP", "UDP", "ICMP".
var
string
$this
getSourcePort
Source port. Only valid when protocol is TCP or UDP.
int
setSourcePort
Source port. Only valid when protocol is TCP or UDP.
var
int
$this
getDestinationPort
Destination port. Only valid when protocol is TCP or UDP.
int
setDestinationPort
Destination port. Only valid when protocol is TCP or UDP.
var
int
$this
getSourceNetworkUri
URI of the network where this packet originates from.
string
setSourceNetworkUri
URI of the network where this packet originates from.
var
string
$this
getDestinationNetworkUri
URI of the network where this packet is sent to.
string
setDestinationNetworkUri
URI of the network where this packet is sent to.
var
string
$this
getSourceAgentUri
URI of the source telemetry agent this packet originates from.
string
setSourceAgentUri
URI of the source telemetry agent this packet originates from.
var
string
$this