[[["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-09 UTC."],[],[],null,["# Google Cloud Edge Network V1 Client - Class BgpPeerStatus (1.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.3 (latest)](/php/docs/reference/cloud-edgenetwork/latest/V1.RouterStatus.BgpPeerStatus)\n- [1.2.2](/php/docs/reference/cloud-edgenetwork/1.2.2/V1.RouterStatus.BgpPeerStatus)\n- [1.1.4](/php/docs/reference/cloud-edgenetwork/1.1.4/V1.RouterStatus.BgpPeerStatus)\n- [1.0.0](/php/docs/reference/cloud-edgenetwork/1.0.0/V1.RouterStatus.BgpPeerStatus)\n- [0.3.6](/php/docs/reference/cloud-edgenetwork/0.3.6/V1.RouterStatus.BgpPeerStatus)\n- [0.2.0](/php/docs/reference/cloud-edgenetwork/0.2.0/V1.RouterStatus.BgpPeerStatus)\n- [0.1.1](/php/docs/reference/cloud-edgenetwork/0.1.1/V1.RouterStatus.BgpPeerStatus) \nReference documentation and code samples for the Google Cloud Edge Network V1 Client class BgpPeerStatus.\n\nStatus of a BGP peer.\n\nGenerated from protobuf message `google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ EdgeNetwork \\\\ V1 \\\\ RouterStatus\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nName of this BGP peer. Unique within the Routers resource.\n\n### setName\n\nName of this BGP peer. Unique within the Routers resource.\n\n### getIpAddress\n\nIP address of the local BGP interface.\n\n### setIpAddress\n\nIP address of the local BGP interface.\n\n### getPeerIpAddress\n\nIP address of the remote BGP interface.\n\n### setPeerIpAddress\n\nIP address of the remote BGP interface.\n\n### getStatus\n\nThe current status of BGP.\n\n### setStatus\n\nThe current status of BGP.\n\n### getState\n\nBGP state as specified in RFC1771.\n\n### setState\n\nBGP state as specified in RFC1771.\n\n### getUptime\n\nTime this session has been up.\n\nFormat:\n14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds\n\n### setUptime\n\nTime this session has been up.\n\nFormat:\n14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds\n\n### getUptimeSeconds\n\nTime this session has been up, in seconds.\n\n### setUptimeSeconds\n\nTime this session has been up, in seconds.\n\n### getPrefixCounter\n\nA collection of counts for prefixes.\n\n### hasPrefixCounter\n\n### clearPrefixCounter\n\n### setPrefixCounter\n\nA collection of counts for prefixes."]]