# Cloud KMS V1 Client - Class State (2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.2 2.4.0 2.3.1 2.2.0 2.1.6 2.0.0 1.23.0 1.22.1 1.21.4 1.20.3 1.19.0 1.18.1 1.17.0 1.16.4 1.15.3 Reference documentation and code samples for the Cloud KMS V1 Client class State.

The states AutokeyConfig can be in.

Protobuf type `google.cloud.kms.v1.AutokeyConfig.State`

## Namespace

Google \\ Cloud \\ Kms \\ V1 \\ AutokeyConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

The state of the AutokeyConfig is unspecified.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

The AutokeyConfig is currently active.

Generated from protobuf enum `ACTIVE = 1;`

### KEY_PROJECT_DELETED

    Value: 2

A previously configured key project has been deleted and the current
AutokeyConfig is unusable.

Generated from protobuf enum `KEY_PROJECT_DELETED = 2;`

### UNINITIALIZED

    Value: 3

The AutokeyConfig is not yet initialized or has been reset to its default
uninitialized state.

Generated from protobuf enum `UNINITIALIZED = 3;`

### KEY_PROJECT_PERMISSION_DENIED

    Value: 4

The service account lacks the necessary permissions in the key project to
configure Autokey.

Generated from protobuf enum `KEY_PROJECT_PERMISSION_DENIED = 4;`