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 field.
getAccessDiff
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 field.
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 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-09-09 UTC."],[],[],null,["# Google Cloud Policy Simulator V1 Client - Class ReplayDiff (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/php/docs/reference/cloud-policysimulator/latest/V1.ReplayDiff)\n- [1.1.1](/php/docs/reference/cloud-policysimulator/1.1.1/V1.ReplayDiff)\n- [1.0.3](/php/docs/reference/cloud-policysimulator/1.0.3/V1.ReplayDiff)\n- [0.2.5](/php/docs/reference/cloud-policysimulator/0.2.5/V1.ReplayDiff)\n- [0.1.1](/php/docs/reference/cloud-policysimulator/0.1.1/V1.ReplayDiff) \nReference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ReplayDiff.\n\nThe difference between the results of evaluating an access tuple under\nthe current (baseline) policies and under the proposed (simulated) policies.\n\nThis difference explains how a principal's access could change if the\nproposed policies were applied.\n\nGenerated from protobuf message `google.cloud.policysimulator.v1.ReplayDiff`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ PolicySimulator \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAccessDiff\n\nA summary and comparison of the principal's access under the current\n(baseline) policies and the proposed (simulated) policies for a single\naccess tuple.\n\nThe evaluation of the principal's access is reported in the\n[AccessState](/php/docs/reference/cloud-policysimulator/latest/V1.AccessState) field.\n\n### hasAccessDiff\n\n### clearAccessDiff\n\n### setAccessDiff\n\nA summary and comparison of the principal's access under the current\n(baseline) policies and the proposed (simulated) policies for a single\naccess tuple.\n\nThe evaluation of the principal's access is reported in the\n[AccessState](/php/docs/reference/cloud-policysimulator/latest/V1.AccessState) field."]]