GetCryptoKeyVersionResult class

Result data returned by getCryptoKeyVersion.

Constructors

GetCryptoKeyVersionResult({required String algorithm, required KeyOperationAttestationResponse attestation, required String createTime, required String destroyEventTime, required String destroyTime, required String externalDestructionFailureReason, required ExternalProtectionLevelOptionsResponse externalProtectionLevelOptions, required String generateTime, required String generationFailureReason, required String importFailureReason, required String importJob, required String importTime, required String name, required String protectionLevel, required bool reimportEligible, required String state})
Creates a new GetCryptoKeyVersionResult. algorithm The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. attestation Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM. createTime The time at which this CryptoKeyVersion was created. destroyEventTime The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED. destroyTime The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED. externalDestructionFailureReason The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED. externalProtectionLevelOptions ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels. generateTime The time this CryptoKeyVersion's key material was generated. generationFailureReason The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED. importFailureReason The root cause of the most recent import failure. Only present if state is IMPORT_FAILED. importJob The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported. importTime The time at which this CryptoKeyVersion's key material was most recently imported. name The resource name for this CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*. protectionLevel The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. reimportEligible Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version. state The current state of the CryptoKeyVersion.
const
GetCryptoKeyVersionResult.fromMap(Map<String, dynamic> map)
factory

Properties

algorithm → String
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
final
attestation → KeyOperationAttestationResponse
Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.
final
createTime → String
The time at which this CryptoKeyVersion was created.
final
destroyEventTime → String
The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
final
destroyTime → String
The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
final
externalDestructionFailureReason → String
The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
final
externalProtectionLevelOptions → ExternalProtectionLevelOptionsResponse
ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
final
generateTime → String
The time this CryptoKeyVersion's key material was generated.
final
generationFailureReason → String
The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
final
hashCode → int
The hash code for this object.
no setterinherited
importFailureReason → String
The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
final
importJob → String
The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
final
importTime → String
The time at which this CryptoKeyVersion's key material was most recently imported.
final
name → String
The resource name for this CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*.
final
protectionLevel → String
The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
final
reimportEligible → bool
Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
The current state of the CryptoKeyVersion.
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