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"]],[["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-04-17 UTC."],[[["ReplayDiff is a class within the Policy Simulator v1 API that represents the difference in access evaluation results between current and proposed policies."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its capabilities for message handling, comparison, and deep cloning."],["ReplayDiff can be instantiated either as an empty object or by copying an existing ReplayDiff object via provided constructors."],["The `AccessDiff` property provides a detailed comparison of a principal's access under baseline versus simulated policies, using the `AccessStateDiff` type to represent the changes."]]],[]]