Policy Troubleshooter V3 API - Class Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer (v0.4.0)

Reference documentation and code samples for the Policy Troubleshooter V3 API class Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ip

def ip() -> ::String
Returns
  • (::String) — The IPv4 or IPv6 address of the peer.

#ip=

def ip=(value) -> ::String
Parameter
  • value (::String) — The IPv4 or IPv6 address of the peer.
Returns
  • (::String) — The IPv4 or IPv6 address of the peer.

#port

def port() -> ::Integer
Returns
  • (::Integer) — The network port of the peer.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — The network port of the peer.
Returns
  • (::Integer) — The network port of the peer.