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."],[[["`AttributeContext.Types.Peer` is a class that defines the attributes of a node involved in handling a network request, including services and applications."],["This class implements several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message manipulation and comparison."],["Key properties of the `AttributeContext.Types.Peer` class include `Ip`, `Labels`, `Port`, `Principal`, and `RegionCode`, which store information about the peer's network identity, associated labels, and location."],["The class provides methods for object manipulation, comparison, and serialization/deserialization, including `Clone()`, `Equals()`, `MergeFrom()`, and `WriteTo()`."]]],[]]