Skip to content

Commit af2970d

Browse files
feat(kmsinventory): update the api
#### kmsinventory:v1 The following keys were added: - schemas.GoogleCloudKmsV1CryptoKeyVersion.properties.externalDestructionFailureReason (Total Keys: 2) - schemas.GoogleCloudKmsV1CryptoKeyVersion.properties.generationFailureReason (Total Keys: 2)
1 parent 01d0c8a commit af2970d

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

docs/dyn/kmsinventory_v1.projects.cryptoKeys.html

+2
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,13 @@ <h3>Method Details</h3>
137137
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this CryptoKeyVersion was created.
138138
&quot;destroyEventTime&quot;: &quot;A String&quot;, # Output only. The time this CryptoKeyVersion&#x27;s key material was destroyed. Only present if state is DESTROYED.
139139
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this CryptoKeyVersion&#x27;s key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
140+
&quot;externalDestructionFailureReason&quot;: &quot;A String&quot;, # Output only. The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.
140141
&quot;externalProtectionLevelOptions&quot;: { # ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels. # ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
141142
&quot;ekmConnectionKeyPath&quot;: &quot;A String&quot;, # The path to the external key material on the EKM when using EkmConnection e.g., &quot;v0/my/key&quot;. Set this field instead of external_key_uri when using an EkmConnection.
142143
&quot;externalKeyUri&quot;: &quot;A String&quot;, # The URI for an external resource that this CryptoKeyVersion represents.
143144
},
144145
&quot;generateTime&quot;: &quot;A String&quot;, # Output only. The time this CryptoKeyVersion&#x27;s key material was generated.
146+
&quot;generationFailureReason&quot;: &quot;A String&quot;, # Output only. The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.
145147
&quot;importFailureReason&quot;: &quot;A String&quot;, # Output only. The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.
146148
&quot;importJob&quot;: &quot;A String&quot;, # Output only. The name of the ImportJob used in the most recent import of this CryptoKeyVersion. Only present if the underlying key material was imported.
147149
&quot;importTime&quot;: &quot;A String&quot;, # Output only. The time at which this CryptoKeyVersion&#x27;s key material was most recently imported.

googleapiclient/discovery_cache/documents/kmsinventory.v1.json

+19-3
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
}
237237
}
238238
},
239-
"revision": "20230304",
239+
"revision": "20230319",
240240
"rootUrl": "https://kmsinventory.googleapis.com/",
241241
"schemas": {
242242
"GoogleCloudKmsInventoryV1ListCryptoKeysResponse": {
@@ -544,6 +544,11 @@
544544
"readOnly": true,
545545
"type": "string"
546546
},
547+
"externalDestructionFailureReason": {
548+
"description": "Output only. The root cause of the most recent external destruction failure. Only present if state is EXTERNAL_DESTRUCTION_FAILED.",
549+
"readOnly": true,
550+
"type": "string"
551+
},
547552
"externalProtectionLevelOptions": {
548553
"$ref": "GoogleCloudKmsV1ExternalProtectionLevelOptions",
549554
"description": "ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels."
@@ -554,6 +559,11 @@
554559
"readOnly": true,
555560
"type": "string"
556561
},
562+
"generationFailureReason": {
563+
"description": "Output only. The root cause of the most recent generation failure. Only present if state is GENERATION_FAILED.",
564+
"readOnly": true,
565+
"type": "string"
566+
},
557567
"importFailureReason": {
558568
"description": "Output only. The root cause of the most recent import failure. Only present if state is IMPORT_FAILED.",
559569
"readOnly": true,
@@ -609,7 +619,10 @@
609619
"DESTROYED",
610620
"DESTROY_SCHEDULED",
611621
"PENDING_IMPORT",
612-
"IMPORT_FAILED"
622+
"IMPORT_FAILED",
623+
"GENERATION_FAILED",
624+
"PENDING_EXTERNAL_DESTRUCTION",
625+
"EXTERNAL_DESTRUCTION_FAILED"
613626
],
614627
"enumDescriptions": [
615628
"Not specified.",
@@ -619,7 +632,10 @@
619632
"This version is destroyed, and the key material is no longer stored. This version may only become ENABLED again if this version is reimport_eligible and the original key material is reimported with a call to KeyManagementService.ImportCryptoKeyVersion.",
620633
"This version is scheduled for destruction, and will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into the DISABLED state.",
621634
"This version is still being imported. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready.",
622-
"This version was not imported successfully. It may not be used, enabled, disabled, or destroyed. The submitted key material has been discarded. Additional details can be found in CryptoKeyVersion.import_failure_reason."
635+
"This version was not imported successfully. It may not be used, enabled, disabled, or destroyed. The submitted key material has been discarded. Additional details can be found in CryptoKeyVersion.import_failure_reason.",
636+
"This version was not generated successfully. It may not be used, enabled, disabled, or destroyed. Additional details can be found in CryptoKeyVersion.generation_failure_reason.",
637+
"This version was destroyed, and it may not be used or enabled again. Cloud KMS is waiting for the corresponding key material residing in an external key manager to be destroyed.",
638+
"This version was destroyed, and it may not be used or enabled again. However, Cloud KMS could not confirm that the corresponding key material residing in an external key manager was destroyed. Additional details can be found in CryptoKeyVersion.external_destruction_failure_reason."
623639
],
624640
"type": "string"
625641
}

0 commit comments

Comments
 (0)