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

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this

getAccessChange

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

Returns
Type
Description
int

setAccessChange

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: