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"]],[["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-06-12 UTC."],[[["`AttributeContext.Types.Peer` defines attributes for a node handling a network request, which can be a service or application."],["This class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` for message handling and cloning."],["Key properties include `Ip`, `Port`, `Labels`, `Principal`, and `RegionCode`, providing details about the peer's network information and identity."],["The class includes methods for message manipulation like `CalculateSize()`, `Clone()`, `Equals()`, `GetHashCode()`, `MergeFrom()`, `ToString()` and `WriteTo()` for data management and comparison."],["The latest version available for `AttributeContext.Types.Peer` is `2.15.0`, with older versions available, including `2.10.0` and `2.2.0`."]]],[]]