Google Cloud Policy Troubleshooter V1 Client - Class AccessState (1.1.2)

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

Whether a member has a permission for a resource.

Protobuf type google.cloud.policytroubleshooter.v1.AccessState

Namespace

Google \ Cloud \ PolicyTroubleshooter \ V1

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

ACCESS_STATE_UNSPECIFIED

Value: 0

Reserved for future use.

Generated from protobuf enum ACCESS_STATE_UNSPECIFIED = 0;

GRANTED

Value: 1

The member has the permission.

Generated from protobuf enum GRANTED = 1;

NOT_GRANTED

Value: 2

The member does not have the permission.

Generated from protobuf enum NOT_GRANTED = 2;

UNKNOWN_CONDITIONAL

Value: 3

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

Generated from protobuf enum UNKNOWN_CONDITIONAL = 3;

UNKNOWN_INFO_DENIED

Value: 4

The sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate.

Generated from protobuf enum UNKNOWN_INFO_DENIED = 4;