[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Management V1 Client - Class EndpointInfo (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-network-management/latest/V1.EndpointInfo)\n- [2.4.2](/php/docs/reference/cloud-network-management/2.4.2/V1.EndpointInfo)\n- [2.3.2](/php/docs/reference/cloud-network-management/2.3.2/V1.EndpointInfo)\n- [2.2.1](/php/docs/reference/cloud-network-management/2.2.1/V1.EndpointInfo)\n- [2.1.1](/php/docs/reference/cloud-network-management/2.1.1/V1.EndpointInfo)\n- [2.0.1](/php/docs/reference/cloud-network-management/2.0.1/V1.EndpointInfo)\n- [1.7.3](/php/docs/reference/cloud-network-management/1.7.3/V1.EndpointInfo)\n- [1.5.0](/php/docs/reference/cloud-network-management/1.5.0/V1.EndpointInfo)\n- [1.4.2](/php/docs/reference/cloud-network-management/1.4.2/V1.EndpointInfo)\n- [1.3.0](/php/docs/reference/cloud-network-management/1.3.0/V1.EndpointInfo)\n- [1.2.0](/php/docs/reference/cloud-network-management/1.2.0/V1.EndpointInfo)\n- [1.1.1](/php/docs/reference/cloud-network-management/1.1.1/V1.EndpointInfo)\n- [1.0.5](/php/docs/reference/cloud-network-management/1.0.5/V1.EndpointInfo) \nReference documentation and code samples for the Google Cloud Network Management V1 Client class EndpointInfo.\n\nFor display only. The specification of the endpoints for the test.\n\nEndpointInfo is derived from source and destination Endpoint and validated\nby the backend data plane model.\n\nGenerated from protobuf message `google.cloud.networkmanagement.v1.EndpointInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceIp\n\nSource IP address.\n\n### setSourceIp\n\nSource IP address.\n\n### getDestinationIp\n\nDestination IP address.\n\n### setDestinationIp\n\nDestination IP address.\n\n### getProtocol\n\nIP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".\n\n### setProtocol\n\nIP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".\n\n### getSourcePort\n\nSource port. Only valid when protocol is TCP or UDP.\n\n### setSourcePort\n\nSource port. Only valid when protocol is TCP or UDP.\n\n### getDestinationPort\n\nDestination port. Only valid when protocol is TCP or UDP.\n\n### setDestinationPort\n\nDestination port. Only valid when protocol is TCP or UDP.\n\n### getSourceNetworkUri\n\nURI of the network where this packet originates from.\n\n### setSourceNetworkUri\n\nURI of the network where this packet originates from.\n\n### getDestinationNetworkUri\n\nURI of the network where this packet is sent to.\n\n### setDestinationNetworkUri\n\nURI of the network where this packet is sent to.\n\n### getSourceAgentUri\n\nURI of the source telemetry agent this packet originates from.\n\n### setSourceAgentUri\n\nURI of the source telemetry agent this packet originates from."]]