0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.2 0.15.1 0.14.1 0.13.0 0.12.2 0.11.3 0.10.0 0.9.1 0.8.3 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the KMS Inventory V1 API module Google::Cloud::Kms::V1::ImportJob::ImportJobState.

The state of the [ImportJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-ImportJob "Google::Cloud::Kms::V1::ImportJob (class)"), indicating if
it can be used.

## Constants

### IMPORT_JOB_STATE_UNSPECIFIED

**value:** 0  
Not specified.

### PENDING_GENERATION

**value:** 1  
The wrapping key for this job is still being generated. It may not be
used. Cloud KMS will automatically mark this job as
[ACTIVE](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-ImportJob-ImportJobState#Google__Cloud__Kms__V1__ImportJob__ImportJobState__ACTIVE "Google::Cloud::Kms::V1::ImportJob::ImportJobState::ACTIVE (constant)") as soon as
the wrapping key is generated.

### ACTIVE

**value:** 2  
This job may be used in
\[CreateCryptoKey\]\[google.cloud.kms.v1.KeyManagementService.CreateCryptoKey\]
and
\[CreateCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion\]
requests.

### EXPIRED

**value:** 3  
This job can no longer be used and may not leave this state once entered.