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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ACTIVATING |
Access is being given. |
ACTIVATING_VALUE |
Access is being given. |
ACTIVATION_FAILED |
The system could not give access due to a non-retriable error. This is a terminal state. |
ACTIVATION_FAILED_VALUE |
The system could not give access due to a non-retriable error. This is a terminal state. |
ACTIVE |
Access was successfully given and is currently active. |
ACTIVE_VALUE |
Access was successfully given and is currently active. |
APPROVAL_AWAITED |
The entitlement had an approval workflow configured and this grant is waiting for the workflow to complete. |
APPROVAL_AWAITED_VALUE |
The entitlement had an approval workflow configured and this grant is waiting for the workflow to complete. |
DENIED |
The approval workflow completed with a denied result. No access is granted for this grant. This is a terminal state. |
DENIED_VALUE |
The approval workflow completed with a denied result. No access is granted for this grant. This is a terminal state. |
ENDED |
System took back access as the requested duration was over. This is a terminal state. |
ENDED_VALUE |
System took back access as the requested duration was over. This is a terminal state. |
EXPIRED |
Expired after waiting for the approval workflow to complete. This is a terminal state. |
EXPIRED_VALUE |
Expired after waiting for the approval workflow to complete. This is a terminal state. |
REVOKED |
Access was revoked by a user. This is a terminal state. |
REVOKED_VALUE |
Access was revoked by a user. This is a terminal state. |
REVOKING |
Access is being revoked. |
REVOKING_VALUE |
Access is being revoked. |
SCHEDULED |
The approval workflow completed successfully with an approved result or none was configured. Access is provided at an appropriate time. |
SCHEDULED_VALUE |
The approval workflow completed successfully with an approved result or none was configured. Access is provided at an appropriate time. |
STATE_UNSPECIFIED |
Unspecified state. This value is never returned by the server. |
STATE_UNSPECIFIED_VALUE |
Unspecified state. This value is never returned by the server. |
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() |