ReplayResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The result of replaying a single access tuple against a simulated state.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
diff |
google.cloud.policysimulator_v1.types.ReplayDiff
The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies. This field is only included for access tuples that were successfully replayed and had different results under the current policies and the proposed policies. This field is a member of oneof _ result .
|
error |
google.rpc.status_pb2.Status
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully. This field is a member of oneof _ result .
|
name |
str
The resource name of the ReplayResult , in the following
format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id} ,
where {resource-id} is the ID of the project, folder, or
organization that owns the
Replay.
Example:
projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234
|
parent |
str
The Replay that the access tuple was included in. |
access_tuple |
google.cloud.policysimulator_v1.types.AccessTuple
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt. |
last_seen_date |
google.type.date_pb2.Date
The latest date this access tuple was seen in the logs. |