Cloud KMS V1 Client - Class ImportJobState (1.15.3)

Reference documentation and code samples for the Cloud KMS V1 Client class ImportJobState.

The state of the ImportJob, indicating if it can be used.

Protobuf type google.cloud.kms.v1.ImportJob.ImportJobState

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

IMPORT_JOB_STATE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum IMPORT_JOB_STATE_UNSPECIFIED = 0;

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 as soon as the wrapping key is generated.

Generated from protobuf enum PENDING_GENERATION = 1;

ACTIVE

Value: 2

This job may be used in CreateCryptoKey and CreateCryptoKeyVersion requests.

Generated from protobuf enum ACTIVE = 2;

EXPIRED

Value: 3

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

Generated from protobuf enum EXPIRED = 3;