GetImportJobResult class

Result data returned by getImportJob.

Constructors

GetImportJobResult({required KeyOperationAttestationResponse attestation, required String createTime, required String expireEventTime, required String expireTime, required String generateTime, required String importMethod, required String name, required String protectionLevel, required WrappingPublicKeyResponse publicKey, required String state})
Creates a new GetImportJobResult. attestation Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM. createTime The time at which this ImportJob was created. expireEventTime The time this ImportJob expired. Only present if state is EXPIRED. expireTime The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material. generateTime The time this ImportJob's key material was generated. importMethod Immutable. The wrapping method to be used for incoming key material. name The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*. protectionLevel Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into. publicKey The public key with which to wrap key material prior to import. Only returned if state is ACTIVE. state The current state of the ImportJob, indicating if it can be used.
const
GetImportJobResult.fromMap(Map<String, dynamic> map)
factory

Properties

attestation → KeyOperationAttestationResponse
Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
final
createTime → String
The time at which this ImportJob was created.
final
expireEventTime → String
The time this ImportJob expired. Only present if state is EXPIRED.
final
expireTime → String
The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
final
generateTime → String
The time this ImportJob's key material was generated.
final
hashCode → int
The hash code for this object.
no setterinherited
importMethod → String
Immutable. The wrapping method to be used for incoming key material.
final
name → String
The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
final
protectionLevel → String
Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
final
publicKey → WrappingPublicKeyResponse
The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
The current state of the ImportJob, indicating if it can be used.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited