public sealed class AttributeContext.Types.Peer : IMessage<AttributeContext.Types.Peer>, IEquatable<AttributeContext.Types.Peer>, IDeepCloneable<AttributeContext.Types.Peer>, IBufferMessage, IMessage
This message defines attributes for a node that handles a network request.
The node can be either a service or an application that sends, forwards,
or receives the request. Service peers should fill in
principal and labels as appropriate.
The identity of this peer. Similar to Request.auth.principal, but
relative to the peer instead of the request. For example, the
identity associated with a load balancer that forwarded the request.
The CLDR country/region code associated with the above IP address.
If the IP address is private, the region_code should reflect the
physical location where this peer is running.
[[["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\u003e\u003ccode\u003eAttributeContext.Types.Peer\u003c/code\u003e defines attributes for a node handling a network request, which can be a service or application.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eIp\u003c/code\u003e, \u003ccode\u003ePort\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003ePrincipal\u003c/code\u003e, and \u003ccode\u003eRegionCode\u003c/code\u003e, providing details about the peer's network information and identity.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes methods for message manipulation like \u003ccode\u003eCalculateSize()\u003c/code\u003e, \u003ccode\u003eClone()\u003c/code\u003e, \u003ccode\u003eEquals()\u003c/code\u003e, \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eMergeFrom()\u003c/code\u003e, \u003ccode\u003eToString()\u003c/code\u003e and \u003ccode\u003eWriteTo()\u003c/code\u003e for data management and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eAttributeContext.Types.Peer\u003c/code\u003e is \u003ccode\u003e2.15.0\u003c/code\u003e, with older versions available, including \u003ccode\u003e2.10.0\u003c/code\u003e and \u003ccode\u003e2.2.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]