# Google Cloud Container V1 Client - Class CurrentState (2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.0 2.3.4 2.2.1 2.1.0 2.0.0 1.33.0 1.32.0 1.31.0 1.30.3 1.24.0 1.23.0 1.22.0 1.21.1 1.20.0 1.19.0 1.18.0 1.17.1 1.16.0 1.15.0 1.14.0 1.13.1 1.12.1 1.10.3 1.9.1 Reference documentation and code samples for the Google Cloud Container V1 Client class CurrentState.

Current State of etcd encryption.

Protobuf type `google.container.v1.DatabaseEncryption.CurrentState`

## Namespace

Google \\ Cloud \\ Container \\ V1 \\ DatabaseEncryption

## Methods

### static::name

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

### static::value

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

## Constants

### CURRENT_STATE_UNSPECIFIED

    Value: 0

Should never be set

Generated from protobuf enum `CURRENT_STATE_UNSPECIFIED = 0;`

### CURRENT_STATE_ENCRYPTED

    Value: 7

Secrets in etcd are encrypted.

Generated from protobuf enum `CURRENT_STATE_ENCRYPTED = 7;`

### CURRENT_STATE_DECRYPTED

    Value: 2

Secrets in etcd are stored in plain text (at etcd level) - this is
unrelated to Compute Engine level full disk encryption.

Generated from protobuf enum `CURRENT_STATE_DECRYPTED = 2;`

### CURRENT_STATE_ENCRYPTION_PENDING

    Value: 3

Encryption (or re-encryption with a different CloudKMS key)
of Secrets is in progress.

Generated from protobuf enum `CURRENT_STATE_ENCRYPTION_PENDING = 3;`

### CURRENT_STATE_ENCRYPTION_ERROR

    Value: 4

Encryption (or re-encryption with a different CloudKMS key) of Secrets in
etcd encountered an error.

Generated from protobuf enum `CURRENT_STATE_ENCRYPTION_ERROR = 4;`

### CURRENT_STATE_DECRYPTION_PENDING

    Value: 5

De-crypting Secrets to plain text in etcd is in progress.

Generated from protobuf enum `CURRENT_STATE_DECRYPTION_PENDING = 5;`

### CURRENT_STATE_DECRYPTION_ERROR

    Value: 6

De-crypting Secrets to plain text in etcd encountered an error.

Generated from protobuf enum `CURRENT_STATE_DECRYPTION_ERROR = 6;`

### CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED

    Value: 8

Encryption of all objects in the storage is enabled.

It does not guarantee that all objects in the storage are encrypted,
but eventually they will be.

Generated from protobuf enum `CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED = 8;`

### CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING

    Value: 9

Enablement of the encryption of all objects in storage is pending.

Generated from protobuf enum `CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING = 9;`

### CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR

    Value: 10

Enabling encryption of all objects in storage encountered an error.

Generated from protobuf enum `CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR = 10;`