Google Cloud Policy Simulator V1 Client - Class AccessState (1.0.0)

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class AccessState.

Whether a principal has a permission for a resource.

Protobuf type google.cloud.policysimulator.v1.AccessState

Namespace

Google \ Cloud \ PolicySimulator \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ACCESS_STATE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum ACCESS_STATE_UNSPECIFIED = 0;

GRANTED

Value: 1

The principal has the permission.

Generated from protobuf enum GRANTED = 1;

NOT_GRANTED

Value: 2

The principal does not have the permission.

Generated from protobuf enum NOT_GRANTED = 2;

UNKNOWN_CONDITIONAL

Value: 3

The principal has the permission only if a condition expression evaluates to true.

Generated from protobuf enum UNKNOWN_CONDITIONAL = 3;

UNKNOWN_INFO_DENIED

Value: 4

The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate.

Generated from protobuf enum UNKNOWN_INFO_DENIED = 4;