ConditionContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Additional context for troubleshooting conditional role bindings and deny rules.
Attributes | |
---|---|
Name | Description |
resource |
google.cloud.policytroubleshooter_iam_v3.types.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. |
destination |
google.cloud.policytroubleshooter_iam_v3.types.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. |
request |
google.cloud.policytroubleshooter_iam_v3.types.ConditionContext.Request
Represents a network request, such as an HTTP request. |
effective_tags |
MutableSequence[google.cloud.policytroubleshooter_iam_v3.types.ConditionContext.EffectiveTag]
Output only. The effective tags on the resource. The effective tags are fetched during troubleshooting. |
Classes
EffectiveTag
EffectiveTag(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A tag that applies to a resource during policy evaluation. Tags can
be either directly bound to a resource or inherited from its
ancestor. EffectiveTag
contains the name
and
namespaced_name
of the tag value and tag key, with additional
fields of inherited
to indicate the inheritance status of the
effective tag.
Peer
Peer(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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.
Request
Request(mapping=None, *, ignore_unknown_fields=False, **kwargs)
This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.
Resource
Resource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a Compute Engine instance.