Policy Simulator v1 API - Class AccessStateDiff (1.2.0)

public sealed class AccessStateDiff : IMessage<AccessStateDiff>, IEquatable<AccessStateDiff>, IDeepCloneable<AccessStateDiff>, IBufferMessage, IMessage

Reference documentation and code samples for the Policy Simulator v1 API 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.

Inheritance

object > AccessStateDiff

Namespace

Google.Cloud.PolicySimulator.V1

Assembly

Google.Cloud.PolicySimulator.V1.dll

Constructors

AccessStateDiff()

public AccessStateDiff()

AccessStateDiff(AccessStateDiff)

public AccessStateDiff(AccessStateDiff other)
Parameter
Name Description
other AccessStateDiff

Properties

AccessChange

public AccessStateDiff.Types.AccessChangeType AccessChange { get; set; }

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

Property Value
Type Description
AccessStateDiffTypesAccessChangeType

Baseline

public ExplainedAccess Baseline { get; set; }

The results of evaluating the access tuple under the current (baseline) policies.

If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't be fully evaluated, this field explains why.

Property Value
Type Description
ExplainedAccess

Simulated

public ExplainedAccess Simulated { get; set; }

The results of evaluating the access tuple under the proposed (simulated) policies.

If the AccessState couldn't be fully evaluated, this field explains why.

Property Value
Type Description
ExplainedAccess