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\u003eThe \u003ccode\u003eRouter.Types.BgpPeer\u003c/code\u003e class in the Google Cloud Edge Network v1 API defines layer-3 information for building a BGP session, serving as the peer side in the connection.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparison, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBgpPeer\u003c/code\u003e class has properties for managing the BGP interface such as \u003ccode\u003eInterface\u003c/code\u003e, \u003ccode\u003eInterfaceIpv4Cidr\u003c/code\u003e, \u003ccode\u003eInterfaceIpv6Cidr\u003c/code\u003e, \u003ccode\u003ePeerIpv4Cidr\u003c/code\u003e, \u003ccode\u003ePeerIpv6Cidr\u003c/code\u003e, and ASN (Autonomous System Number) values \u003ccode\u003eLocalAsn\u003c/code\u003e and \u003ccode\u003ePeerAsn\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eBgpPeer\u003c/code\u003e class available, ranging from version 1.0.0 to the latest version 1.4.0, as shown in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains both a default constructor \u003ccode\u003eBgpPeer()\u003c/code\u003e and an overloaded one \u003ccode\u003eBgpPeer(Router.Types.BgpPeer other)\u003c/code\u003e to deep clone an existing object of the same type.\u003c/p\u003e\n"]]],[],null,[]]