# 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 set of states of a
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

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

## Namespace

Google \\ Cloud \\ Kms \\ V1 \\ SingleTenantHsmInstanceProposal

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Not specified.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
is being created.

Generated from protobuf enum `CREATING = 1;`

### PENDING

    Value: 2

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
is pending approval.

Generated from protobuf enum `PENDING = 2;`

### APPROVED

    Value: 3

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
has been approved.

Generated from protobuf enum `APPROVED = 3;`

### RUNNING

    Value: 4

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
is being executed.

Generated from protobuf enum `RUNNING = 4;`

### SUCCEEDED

    Value: 5

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
has been executed successfully.

Generated from protobuf enum `SUCCEEDED = 5;`

### FAILED

    Value: 6

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
has failed.

Generated from protobuf enum `FAILED = 6;`

### DELETED

    Value: 7

The
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
has been deleted and will be purged after the purge_time.

Generated from protobuf enum `DELETED = 7;`