docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.html b/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.html
index 932b349..6f6ba0f 100644
--- a/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.html
+++ b/docs/dyn/cloudkms_v1.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.html
@@ -96,7 +96,7 @@
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Imports a new CryptoKeyVersion into an existing CryptoKey using the</p>
<p class="toc_element">
- <code><a href="#list">list(parent, pageToken=None, pageSize=None, view=None, orderBy=None, filter=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(parent, filter=None, pageToken=None, pageSize=None, view=None, orderBy=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists CryptoKeyVersions.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -153,9 +153,9 @@
"digest": { # A Digest holds a cryptographic message digest. # Required. The digest of the data to sign. The digest must be produced with
# the same digest algorithm as specified by the key version's
# algorithm.
+ "sha512": "A String", # A message digest produced with the SHA-512 algorithm.
"sha384": "A String", # A message digest produced with the SHA-384 algorithm.
"sha256": "A String", # A message digest produced with the SHA-256 algorithm.
- "sha512": "A String", # A message digest produced with the SHA-512 algorithm.
},
}
@@ -196,34 +196,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -237,6 +209,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}
x__xgafv: string, V1 error format.
@@ -257,34 +257,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -298,6 +270,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}</pre>
</div>
@@ -342,34 +342,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -383,6 +355,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}</pre>
</div>
@@ -410,34 +410,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -451,6 +423,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}</pre>
</div>
@@ -499,10 +499,6 @@
The object takes the form of:
{ # Request message for KeyManagementService.ImportCryptoKeyVersion.
- "algorithm": "A String", # Required. The algorithm of
- # the key being imported. This does not need to match the
- # version_template of the CryptoKey this
- # version imports into.
"rsaAesWrappedKey": "A String", # Wrapped key material produced with
# RSA_OAEP_3072_SHA1_AES_256
# or
@@ -528,6 +524,10 @@
# CKM_RSA_AES_KEY_WRAP.
"importJob": "A String", # Required. The name of the ImportJob that was used to
# wrap this key material.
+ "algorithm": "A String", # Required. The algorithm of
+ # the key being imported. This does not need to match the
+ # version_template of the CryptoKey this
+ # version imports into.
}
x__xgafv: string, V1 error format.
@@ -548,34 +548,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -589,16 +561,48 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(parent, pageToken=None, pageSize=None, view=None, orderBy=None, filter=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(parent, filter=None, pageToken=None, pageSize=None, view=None, orderBy=None, x__xgafv=None)</code>
<pre>Lists CryptoKeyVersions.
Args:
parent: string, Required. The resource name of the CryptoKey to list, in the format
`projects/*/locations/*/keyRings/*/cryptoKeys/*`. (required)
+ filter: string, Optional. Only include resources that match the filter in the response. For
+more information, see
+[Sorting and filtering list
+results](https://cloud.google.com/kms/docs/sorting-and-filtering).
pageToken: string, Optional. Optional pagination token, returned earlier via
ListCryptoKeyVersionsResponse.next_page_token.
pageSize: integer, Optional. Optional limit on the number of CryptoKeyVersions to
@@ -611,10 +615,6 @@
results will be sorted in the default order. For more information, see
[Sorting and filtering list
results](https://cloud.google.com/kms/docs/sorting-and-filtering).
- filter: string, Optional. Only include resources that match the filter in the response. For
-more information, see
-[Sorting and filtering list
-results](https://cloud.google.com/kms/docs/sorting-and-filtering).
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -624,6 +624,11 @@
An object of the form:
{ # Response message for KeyManagementService.ListCryptoKeyVersions.
+ "nextPageToken": "A String", # A token to retrieve next page of results. Pass this value in
+ # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of
+ # results.
+ "totalSize": 42, # The total number of CryptoKeyVersions that matched the
+ # query.
"cryptoKeyVersions": [ # The list of CryptoKeyVersions.
{ # A CryptoKeyVersion represents an individual cryptographic key, and the
# associated key material.
@@ -635,34 +640,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -676,13 +653,36 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
},
],
- "nextPageToken": "A String", # A token to retrieve next page of results. Pass this value in
- # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of
- # results.
- "totalSize": 42, # The total number of CryptoKeyVersions that matched the
- # query.
}</pre>
</div>
@@ -726,34 +726,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -767,6 +739,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}
updateMask: string, Required. List of fields to be updated in this request.
@@ -788,34 +788,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -829,6 +801,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}</pre>
</div>
@@ -868,34 +868,6 @@
# CryptoKeyVersion can never be viewed or exported. It can only be used to
# encrypt, decrypt, or sign data when an authorized user or application invokes
# Cloud KMS.
- "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
- # was imported.
- "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # destroyed. Only present if state is
- # DESTROYED.
- "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
- # for destruction. Only present if state is
- # DESTROY_SCHEDULED.
- "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
- # state is
- # IMPORT_FAILED.
- "state": "A String", # The current state of the CryptoKeyVersion.
- "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
- # information, see [Verifying attestations]
- # (https://cloud.google.com/kms/docs/attest-key).
- "format": "A String", # Output only. The format of the attestation data.
- "content": "A String", # Output only. The attestation data provided by the HSM when the key
- # operation was performed.
- },
- "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
- # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
- "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
- # generated.
- "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
- # performed with this CryptoKeyVersion.
"createTime": "A String", # Output only. The time at which this CryptoKeyVersion was created.
"algorithm": "A String", # Output only. The CryptoKeyVersionAlgorithm that this
# CryptoKeyVersion supports.
@@ -909,6 +881,34 @@
# EXTERNAL protection level.
"externalKeyUri": "A String", # The URI for an external resource that this CryptoKeyVersion represents.
},
+ "destroyEventTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # destroyed. Only present if state is
+ # DESTROYED.
+ "importTime": "A String", # Output only. The time at which this CryptoKeyVersion's key material
+ # was imported.
+ "destroyTime": "A String", # Output only. The time this CryptoKeyVersion's key material is scheduled
+ # for destruction. Only present if state is
+ # DESTROY_SCHEDULED.
+ "importFailureReason": "A String", # Output only. The root cause of an import failure. Only present if
+ # state is
+ # IMPORT_FAILED.
+ "state": "A String", # The current state of the CryptoKeyVersion.
+ "name": "A String", # Output only. The resource name for this CryptoKeyVersion in the format
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
+ "attestation": { # Contains an HSM-generated attestation about a key operation. For more # Output only. 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.
+ # information, see [Verifying attestations]
+ # (https://cloud.google.com/kms/docs/attest-key).
+ "format": "A String", # Output only. The format of the attestation data.
+ "content": "A String", # Output only. The attestation data provided by the HSM when the key
+ # operation was performed.
+ },
+ "generateTime": "A String", # Output only. The time this CryptoKeyVersion's key material was
+ # generated.
+ "protectionLevel": "A String", # Output only. The ProtectionLevel describing how crypto operations are
+ # performed with this CryptoKeyVersion.
}</pre>
</div>