Google Cloud Policy Simulator V1 Client - Class ReplayDiff (0.1.1)

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client 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.

Generated from protobuf message google.cloud.policysimulator.v1.ReplayDiff

Namespace

Google \ Cloud \ PolicySimulator \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ access_diff Google\Cloud\PolicySimulator\V1\AccessStateDiff

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.

Returns
TypeDescription
Google\Cloud\PolicySimulator\V1\AccessStateDiff|null

hasAccessDiff

clearAccessDiff

setAccessDiff

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.

Parameter
NameDescription
var Google\Cloud\PolicySimulator\V1\AccessStateDiff
Returns
TypeDescription
$this