Google Cloud Privileged Access Manager V1 Client - Class State (0.1.2)

Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class State.

Different states a grant can be in.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ Grant

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

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

Generated from protobuf enum STATE_UNSPECIFIED = 0;

APPROVAL_AWAITED

Value: 1

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

Generated from protobuf enum APPROVAL_AWAITED = 1;

DENIED

Value: 3

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

Generated from protobuf enum DENIED = 3;

SCHEDULED

Value: 4

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

Generated from protobuf enum SCHEDULED = 4;

ACTIVATING

Value: 5

Access is being given.

Generated from protobuf enum ACTIVATING = 5;

ACTIVE

Value: 6

Access was successfully given and is currently active.

Generated from protobuf enum ACTIVE = 6;

ACTIVATION_FAILED

Value: 7

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

Generated from protobuf enum ACTIVATION_FAILED = 7;

EXPIRED

Value: 8

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

Generated from protobuf enum EXPIRED = 8;

REVOKING

Value: 9

Access is being revoked.

Generated from protobuf enum REVOKING = 9;

REVOKED

Value: 10

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

Generated from protobuf enum REVOKED = 10;

ENDED

Value: 11

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

Generated from protobuf enum ENDED = 11;