View Source GoogleApi.ServiceControl.V2.Model.Peer (google_api_service_control v0.40.0)
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.
Attributes
-
ip
(type:String.t
, default:nil
) - The IP address of the peer. -
labels
(type:map()
, default:nil
) - The labels associated with the peer. -
port
(type:String.t
, default:nil
) - The network port of the peer. -
principal
(type:String.t
, default:nil
) - The identity of this peer. Similar toRequest.auth.principal
, but relative to the peer instead of the request. For example, the identity associated with a load balancer that forwarded the request. -
regionCode
(type:String.t
, default:nil
) - The CLDR country/region code associated with the above IP address. If the IP address is private, theregion_code
should reflect the physical location where this peer is running.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.