Enum AccessState (0.2.0)

public enum AccessState extends Enum<AccessState> implements ProtocolMessageEnum

Whether a principal has a permission for a resource.

Protobuf enum google.cloud.policysimulator.v1.AccessState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACCESS_STATE_UNSPECIFIED

Default value. This value is unused.

ACCESS_STATE_UNSPECIFIED = 0;

ACCESS_STATE_UNSPECIFIED_VALUE

Default value. This value is unused.

ACCESS_STATE_UNSPECIFIED = 0;

GRANTED

The principal has the permission.

GRANTED = 1;

GRANTED_VALUE

The principal has the permission.

GRANTED = 1;

NOT_GRANTED

The principal does not have the permission.

NOT_GRANTED = 2;

NOT_GRANTED_VALUE

The principal does not have the permission.

NOT_GRANTED = 2;

UNKNOWN_CONDITIONAL

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

UNKNOWN_CONDITIONAL = 3;

UNKNOWN_CONDITIONAL_VALUE

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

UNKNOWN_CONDITIONAL = 3;

UNKNOWN_INFO_DENIED

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

UNKNOWN_INFO_DENIED = 4;

UNKNOWN_INFO_DENIED_VALUE

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

UNKNOWN_INFO_DENIED = 4;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()