Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class 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.
Generated from protobuf message google.cloud.policysimulator.v1.AccessStateDiff
Namespace
Google \ Cloud \ PolicySimulator \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ baseline
Google\Cloud\PolicySimulator\V1\ExplainedAccess
The results of evaluating the access tuple under the current (baseline) policies. If the AccessState couldn't be fully evaluated, this field explains why.
↳ simulated
Google\Cloud\PolicySimulator\V1\ExplainedAccess
The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.
↳ access_change
int
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
getBaseline
The results of evaluating the access tuple under the current (baseline) policies.
If the AccessState couldn't be fully evaluated, this field explains why.
hasBaseline
clearBaseline
setBaseline
The results of evaluating the access tuple under the current (baseline) policies.
If the AccessState couldn't be fully evaluated, this field explains why.
$this
getSimulated
The results of evaluating the access tuple under the proposed (simulated) policies.
If the AccessState couldn't be fully evaluated, this field explains why.
hasSimulated
clearSimulated
setSimulated
The results of evaluating the access tuple under the proposed (simulated) policies.
If the AccessState couldn't be fully evaluated, this field explains why.
$this
getAccessChange
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
int
setAccessChange
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
var
int
$this