Reference documentation and code samples for the Policy Troubleshooter V3 API class Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext.
Additional context for troubleshooting conditional role bindings and deny rules.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#destination
def destination() -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer
Returns
- (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer) — The destination of a network activity, such as accepting a TCP connection. In a multi-hop network activity, the destination represents the receiver of the last hop.
#destination=
def destination=(value) -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer
Parameter
- value (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer) — The destination of a network activity, such as accepting a TCP connection. In a multi-hop network activity, the destination represents the receiver of the last hop.
Returns
- (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Peer) — The destination of a network activity, such as accepting a TCP connection. In a multi-hop network activity, the destination represents the receiver of the last hop.
#effective_tags
def effective_tags() -> ::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::EffectiveTag>
Returns
- (::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::EffectiveTag>) — Output only. The effective tags on the resource. The effective tags are fetched during troubleshooting.
#request
def request() -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Request
Returns
- (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Request) — Represents a network request, such as an HTTP request.
#request=
def request=(value) -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Request
Parameter
- value (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Request) — Represents a network request, such as an HTTP request.
Returns
- (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Request) — Represents a network request, such as an HTTP request.
#resource
def resource() -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource
Returns
- (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource) — Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
#resource=
def resource=(value) -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource
Parameter
- value (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource) — Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
Returns
- (::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource) — Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.