CryptoKeyVersionResponse constructor

const CryptoKeyVersionResponse({
  1. required Input<String> algorithm,
  2. required Input<KeyOperationAttestationResponse> attestation,
  3. required Input<String> createTime,
  4. required Input<String> destroyEventTime,
  5. required Input<String> destroyTime,
  6. required Input<String> externalDestructionFailureReason,
  7. required Input<ExternalProtectionLevelOptionsResponse> externalProtectionLevelOptions,
  8. required Input<String> generateTime,
  9. required Input<String> generationFailureReason,
  10. required Input<String> importFailureReason,
  11. required Input<String> importJob,
  12. required Input<String> importTime,
  13. required Input<String> name,
  14. required Input<String> protectionLevel,
  15. required Input<bool> reimportEligible,
  16. required Input<String> state,
})

Creates a new CryptoKeyVersionResponse. 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.

Implementation

const CryptoKeyVersionResponse({
  required this.algorithm,
  required this.attestation,
  required this.createTime,
  required this.destroyEventTime,
  required this.destroyTime,
  required this.externalDestructionFailureReason,
  required this.externalProtectionLevelOptions,
  required this.generateTime,
  required this.generationFailureReason,
  required this.importFailureReason,
  required this.importJob,
  required this.importTime,
  required this.name,
  required this.protectionLevel,
  required this.reimportEligible,
  required this.state,
});