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.
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully.
↳ name
string
The resource name of theReplayResult, 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 theReplay. Example:projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
The latest date this access tuple was seen in the logs.
getDiff
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.
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.
The resource name of theReplayResult, 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 theReplay.
The resource name of theReplayResult, 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 theReplay.
The access tuple that was replayed. This field includes information about
the principal, resource, and permission that were involved in the access
attempt.
The access tuple that was replayed. This field includes information about
the principal, resource, and permission that were involved in the access
attempt.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Policy Simulator V1 Client - Class ReplayResult (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/php/docs/reference/cloud-policysimulator/latest/V1.ReplayResult)\n- [1.1.1](/php/docs/reference/cloud-policysimulator/1.1.1/V1.ReplayResult)\n- [1.0.3](/php/docs/reference/cloud-policysimulator/1.0.3/V1.ReplayResult)\n- [0.2.5](/php/docs/reference/cloud-policysimulator/0.2.5/V1.ReplayResult)\n- [0.1.1](/php/docs/reference/cloud-policysimulator/0.1.1/V1.ReplayResult) \nReference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ReplayResult.\n\nThe result of replaying a single access tuple against a simulated state.\n\nGenerated from protobuf message `google.cloud.policysimulator.v1.ReplayResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ PolicySimulator \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDiff\n\nThe difference between the principal's access under the current\n(baseline) policies and the principal's access under the proposed\n(simulated) policies.\n\nThis field is only included for access tuples that were successfully\nreplayed and had different results under the current policies and the\nproposed policies.\n\n### hasDiff\n\n### setDiff\n\nThe difference between the principal's access under the current\n(baseline) policies and the principal's access under the proposed\n(simulated) policies.\n\nThis field is only included for access tuples that were successfully\nreplayed and had different results under the current policies and the\nproposed policies.\n\n### getError\n\nThe error that caused the access tuple replay to fail.\n\nThis field is only included for access tuples that were not replayed\nsuccessfully.\n\n### hasError\n\n### setError\n\nThe error that caused the access tuple replay to fail.\n\nThis field is only included for access tuples that were not replayed\nsuccessfully.\n\n### getName\n\nThe resource name of the `ReplayResult`, in the following format:\n`{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,\nwhere `{resource-id}` is the ID of the project, folder, or organization\nthat owns the [Replay](/php/docs/reference/cloud-policysimulator/latest/V1.Replay).\n\nExample:\n`projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`\n\n### setName\n\nThe resource name of the `ReplayResult`, in the following format:\n`{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,\nwhere `{resource-id}` is the ID of the project, folder, or organization\nthat owns the [Replay](/php/docs/reference/cloud-policysimulator/latest/V1.Replay).\n\nExample:\n`projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`\n\n### getParent\n\nThe [Replay](/php/docs/reference/cloud-policysimulator/latest/V1.Replay) that the access tuple\nwas included in.\n\n### setParent\n\nThe [Replay](/php/docs/reference/cloud-policysimulator/latest/V1.Replay) that the access tuple\nwas included in.\n\n### getAccessTuple\n\nThe access tuple that was replayed. This field includes information about\nthe principal, resource, and permission that were involved in the access\nattempt.\n\n### hasAccessTuple\n\n### clearAccessTuple\n\n### setAccessTuple\n\nThe access tuple that was replayed. This field includes information about\nthe principal, resource, and permission that were involved in the access\nattempt.\n\n### getLastSeenDate\n\nThe latest date this access tuple was seen in the logs.\n\n### hasLastSeenDate\n\n### clearLastSeenDate\n\n### setLastSeenDate\n\nThe latest date this access tuple was seen in the logs.\n\n### getResult"]]