# Google Cloud Discovery Engine V1 Client - Class State (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class State.

States of the CmekConfig.

Protobuf type `google.cloud.discoveryengine.v1.CmekConfig.State`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ CmekConfig

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The CmekConfig state is unknown.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

The CmekConfig is creating.

Generated from protobuf enum `CREATING = 1;`

### ACTIVE

    Value: 2

The CmekConfig can be used with DataStores.

Generated from protobuf enum `ACTIVE = 2;`

### KEY_ISSUE

    Value: 3

The CmekConfig is unavailable, most likely due to the KMS Key being
revoked.

Generated from protobuf enum `KEY_ISSUE = 3;`

### DELETING

    Value: 4

The CmekConfig is deleting.

Generated from protobuf enum `DELETING = 4;`

### DELETE_FAILED

    Value: 7

The CmekConfig deletion process failed.

Generated from protobuf enum `DELETE_FAILED = 7;`

### UNUSABLE

    Value: 5

The CmekConfig is not usable, most likely due to some internal issue.

Generated from protobuf enum `UNUSABLE = 5;`

### ACTIVE_ROTATING

    Value: 6

The KMS key version is being rotated.

Generated from protobuf enum `ACTIVE_ROTATING = 6;`

### DELETED

    Value: 8

The KMS key is soft deleted. Some cleanup policy will eventually be
applied.

Generated from protobuf enum `DELETED = 8;`