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\u003eReplayDiff is a class within the Policy Simulator v1 API that represents the difference in access evaluation results between current and proposed policies.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eReplayDiff can be instantiated either as an empty object or by copying an existing ReplayDiff object via provided constructors.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessDiff\u003c/code\u003e property provides a detailed comparison of a principal's access under baseline versus simulated policies, using the \u003ccode\u003eAccessStateDiff\u003c/code\u003e type to represent the changes.\u003c/p\u003e\n"]]],[],null,[]]