Enum Grant.State (0.8.0)

public enum Grant.State extends Enum<Grant.State> implements ProtocolMessageEnum

Different states a grant can be in.

Protobuf enum google.cloud.privilegedaccessmanager.v1.Grant.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVATING

Access is being given.

ACTIVATING = 5;

ACTIVATING_VALUE

Access is being given.

ACTIVATING = 5;

ACTIVATION_FAILED

The system could not give access due to a non-retriable error. This is a terminal state.

ACTIVATION_FAILED = 7;

ACTIVATION_FAILED_VALUE

The system could not give access due to a non-retriable error. This is a terminal state.

ACTIVATION_FAILED = 7;

ACTIVE

Access was successfully given and is currently active.

ACTIVE = 6;

ACTIVE_VALUE

Access was successfully given and is currently active.

ACTIVE = 6;

APPROVAL_AWAITED

The entitlement had an approval workflow configured and this grant is waiting for the workflow to complete.

APPROVAL_AWAITED = 1;

APPROVAL_AWAITED_VALUE

The entitlement had an approval workflow configured and this grant is waiting for the workflow to complete.

APPROVAL_AWAITED = 1;

DENIED

The approval workflow completed with a denied result. No access is granted for this grant. This is a terminal state.

DENIED = 3;

DENIED_VALUE

The approval workflow completed with a denied result. No access is granted for this grant. This is a terminal state.

DENIED = 3;

ENDED

System took back access as the requested duration was over. This is a terminal state.

ENDED = 11;

ENDED_VALUE

System took back access as the requested duration was over. This is a terminal state.

ENDED = 11;

EXPIRED

Expired after waiting for the approval workflow to complete. This is a terminal state.

EXPIRED = 8;

EXPIRED_VALUE

Expired after waiting for the approval workflow to complete. This is a terminal state.

EXPIRED = 8;

REVOKED

Access was revoked by a user. This is a terminal state.

REVOKED = 10;

REVOKED_VALUE

Access was revoked by a user. This is a terminal state.

REVOKED = 10;

REVOKING

Access is being revoked.

REVOKING = 9;

REVOKING_VALUE

Access is being revoked.

REVOKING = 9;

SCHEDULED

The approval workflow completed successfully with an approved result or none was configured. Access is provided at an appropriate time.

SCHEDULED = 4;

SCHEDULED_VALUE

The approval workflow completed successfully with an approved result or none was configured. Access is provided at an appropriate time.

SCHEDULED = 4;

STATE_UNSPECIFIED

Unspecified state. This value is never returned by the server.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unspecified state. This value is never returned by the server.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()