public sealed class Router.Types.BgpPeer : IMessage<Router.Types.BgpPeer>, IEquatable<Router.Types.BgpPeer>, IDeepCloneable<Router.Types.BgpPeer>, IBufferMessage, IMessage
Reference documentation and code samples for the Distributed Cloud Edge Network v1 API class Router.Types.BgpPeer.
BGPPeer defines the peer side layer-3 information for building the BGP
session.
Output only. Local BGP Autonomous System Number (ASN).
This field is ST_NOT_REQUIRED because it stores private ASNs, which are
meaningless outside the zone in which they are being used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eRouter.Types.BgpPeer\u003c/code\u003e class, a part of the Google Cloud Edge Network v1 API, which is essential for defining peer-side layer-3 BGP session information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouter.Types.BgpPeer\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, offering methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and one for copying an existing \u003ccode\u003eBgpPeer\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eBgpPeer\u003c/code\u003e class include \u003ccode\u003eInterface\u003c/code\u003e, \u003ccode\u003eInterfaceIpv4Cidr\u003c/code\u003e, \u003ccode\u003eInterfaceIpv6Cidr\u003c/code\u003e, \u003ccode\u003eLocalAsn\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePeerAsn\u003c/code\u003e, \u003ccode\u003ePeerIpv4Cidr\u003c/code\u003e, and \u003ccode\u003ePeerIpv6Cidr\u003c/code\u003e, which manage various aspects of BGP peering configurations such as IP ranges and Autonomous System Numbers.\u003c/p\u003e\n"],["\u003cp\u003eThe current latest version of this reference documentation is 1.4.0, and this particular page is for version 1.0.0, with other versions (1.3.0, 1.2.0, 1.1.0) also accessible.\u003c/p\u003e\n"]]],[],null,[]]