Policy Simulator is a collection of endpoints for creating, running,
and viewing a Replay. A
Replay is a type of
simulation that lets you see how your principals' access to
resources might change if you changed your IAM policy.
During a Replay, Policy
Simulator re-evaluates, or replays, past access attempts under both
the current policy and your proposed policy, and compares those
results to determine how your principals' access might change under
the proposed policy.
Policy Simulator is a collection of endpoints for creating, running,
and viewing a Replay. A
Replay is a type of
simulation that lets you see how your principals' access to
resources might change if you changed your IAM policy.
During a Replay, Policy
Simulator re-evaluates, or replays, past access attempts under both
the current policy and your proposed policy, and compares those
results to determine how your principals' access might change under
the proposed policy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package simulator (0.1.15)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.15 (latest)](/python/docs/reference/policysimulator/latest/google.cloud.policysimulator_v1.services.simulator)\n- [0.1.14](/python/docs/reference/policysimulator/0.1.14/google.cloud.policysimulator_v1.services.simulator) \nAPI documentation for `policysimulator_v1.services.simulator` package. \n\nClasses\n-------\n\n### [SimulatorAsyncClient](/python/docs/reference/policysimulator/latest/google.cloud.policysimulator_v1.services.simulator.SimulatorAsyncClient)\n\nPolicy Simulator API service.\n\nPolicy Simulator is a collection of endpoints for creating, running,\nand viewing a Replay. A\nReplay is a type of\nsimulation that lets you see how your principals' access to\nresources might change if you changed your IAM policy.\n\nDuring a Replay, Policy\nSimulator re-evaluates, or replays, past access attempts under both\nthe current policy and your proposed policy, and compares those\nresults to determine how your principals' access might change under\nthe proposed policy.\n\n### [SimulatorClient](/python/docs/reference/policysimulator/latest/google.cloud.policysimulator_v1.services.simulator.SimulatorClient)\n\nPolicy Simulator API service.\n\nPolicy Simulator is a collection of endpoints for creating, running,\nand viewing a Replay. A\nReplay is a type of\nsimulation that lets you see how your principals' access to\nresources might change if you changed your IAM policy.\n\nDuring a Replay, Policy\nSimulator re-evaluates, or replays, past access attempts under both\nthe current policy and your proposed policy, and compares those\nresults to determine how your principals' access might change under\nthe proposed policy.\n\nModules\n-------\n\n### [pagers](/python/docs/reference/policysimulator/latest/google.cloud.policysimulator_v1.services.simulator.pagers)\n\nAPI documentation for `policysimulator_v1.services.simulator.pagers` module."]]