public sealed class Peer : Protobuf.IMessage<AttributeContext.Types.Peer>, Protobuf.IBufferMessage
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
idenity associated with a load balancer that forwared 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-03-05 UTC."],[[["The `Peer` class in the `Google.Rpc.Context` namespace defines the attributes of a node involved in handling a network request, applicable to both service and application nodes."],["This class inherits from `Object` and implements `Protobuf.IBufferMessage`, providing methods for handling and manipulating peer data, such as calculating its size, cloning, and merging."],["Key fields of the `Peer` class include `Ip`, `Labels`, `Port`, `Principal`, and `RegionCode`, which are used to define the network and identity details of the peer node."],["The class provides constructors for creating new instances, either blank or by copying from an existing `AttributeContext.Types.Peer`, along with methods for serialization and deserialization."],["The properties `Parser` and `Descriptor` allow for parsing and describing the message type using the protocol buffer framework, while the methods `CalculateSize`, `Clone`, `Equals`, `GetHashCode`, `MergeFrom`, `ToString`, and `WriteTo` provide data and instance manipulation."]]],[]]