Class ExplainedAccess (0.1.10)

ExplainedAccess(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.

Attributes

Name Description
access_state google.cloud.policysimulator_v1.types.AccessState
Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
policies MutableSequence[google.cloud.policysimulator_v1.types.ExplainedPolicy]
If the AccessState is UNKNOWN, this field contains the policies that led to that result. If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.
errors MutableSequence[google.rpc.status_pb2.Status]
If the AccessState is UNKNOWN, this field contains a list of errors explaining why the result is UNKNOWN. If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.