Cloud KMS V1 Client - Class ImportJobState (2.1.0)

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

Namespace

Google \ Cloud \ Kms \ V1 \ ImportJob

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
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;