Enum Explanations.AccessState (1.26.0)

public enum Explanations.AccessState extends Enum<Explanations.AccessState> implements ProtocolMessageEnum

Whether a principal has a permission for a resource.

Protobuf enum google.cloud.policytroubleshooter.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 sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate.

UNKNOWN_INFO_DENIED = 4;

UNKNOWN_INFO_DENIED_VALUE

The sender of the request does not have access to all of the policies that Policy Troubleshooter 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()