public sealed class ReplayDiff : IMessage<ReplayDiff>, IEquatable<ReplayDiff>, IDeepCloneable<ReplayDiff>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Simulator v1 API class ReplayDiff.
The difference between the results of evaluating an access tuple under
the current (baseline) policies and under the proposed (simulated) policies.
This difference explains how a principal's access could change if the
proposed policies were applied.
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
[AccessState][google.cloud.policysimulator.v1.AccessState] field.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eReplayDiff\u003c/code\u003e class in the Policy Simulator v1 API represents the difference in access evaluation results between current and proposed policies.\u003c/p\u003e\n"],["\u003cp\u003eThis class helps explain how a principal's access might change if proposed policies were implemented, offering insight into potential access modifications.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReplayDiff\u003c/code\u003e implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a wide range of functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessDiff\u003c/code\u003e property within \u003ccode\u003eReplayDiff\u003c/code\u003e offers a summary and comparison of a principal's access under both current and proposed policies for an access tuple.\u003c/p\u003e\n"],["\u003cp\u003eThere are currently three different versions of this class, 1.2.0 being the latest, alongside 1.1.0 and 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]