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 BGP sessions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, enabling message handling, equality comparisons, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eIt offers constructors for creating a new \u003ccode\u003eBgpPeer\u003c/code\u003e instance and cloning an existing one, along with properties to configure the BGP peer, such as \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.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple available versions of \u003ccode\u003eRouter.Types.BgpPeer\u003c/code\u003e, with the latest version being 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class belongs to the \u003ccode\u003eGoogle.Cloud.EdgeNetwork.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.EdgeNetwork.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]