Skip to content

Commit 032d453

Browse files
feat(kmsinventory): update the api
#### kmsinventory:v1 The following keys were added: - schemas.GoogleCloudKmsInventoryV1ProtectedResource.properties.cryptoKeyVersions (Total Keys: 2)
1 parent e8b6164 commit 032d453

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docs/dyn/kmsinventory_v1.organizations.protectedResources.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ <h3>Method Details</h3>
112112
{ # Metadata about a resource protected by a Cloud KMS key.
113113
&quot;cloudProduct&quot;: &quot;A String&quot;, # The Cloud product that owns the resource. Example: `compute`
114114
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this resource was created. The granularity is in seconds. Timestamp.nanos will always be 0.
115-
&quot;cryptoKeyVersion&quot;: &quot;A String&quot;, # The name of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en) used to protect this resource via CMEK. This field may be empty if the Cloud product owning the resource does not provide key version data to Asset Inventory.
115+
&quot;cryptoKeyVersion&quot;: &quot;A String&quot;, # The name of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en) used to protect this resource via CMEK. This field is empty if the Google Cloud product owning the resource does not provide key version data to Asset Inventory. If there are multiple key versions protecting the resource, then this is same value as the first element of crypto_key_versions.
116+
&quot;cryptoKeyVersions&quot;: [ # The names of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en) used to protect this resource via CMEK. This field is empty if the Google Cloud product owning the resource does not provide key versions data to Asset Inventory. The first element of this field is stored in crypto_key_version.
117+
&quot;A String&quot;,
118+
],
116119
&quot;labels&quot;: { # A key-value pair of the resource&#x27;s labels (v1) to their values.
117120
&quot;a_key&quot;: &quot;A String&quot;,
118121
},

googleapiclient/discovery_cache/documents/kmsinventory.v1.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
}
237237
}
238238
},
239-
"revision": "20230115",
239+
"revision": "20230122",
240240
"rootUrl": "https://kmsinventory.googleapis.com/",
241241
"schemas": {
242242
"GoogleCloudKmsInventoryV1ListCryptoKeysResponse": {
@@ -272,9 +272,16 @@
272272
"type": "string"
273273
},
274274
"cryptoKeyVersion": {
275-
"description": "The name of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en) used to protect this resource via CMEK. This field may be empty if the Cloud product owning the resource does not provide key version data to Asset Inventory.",
275+
"description": "The name of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en) used to protect this resource via CMEK. This field is empty if the Google Cloud product owning the resource does not provide key version data to Asset Inventory. If there are multiple key versions protecting the resource, then this is same value as the first element of crypto_key_versions.",
276276
"type": "string"
277277
},
278+
"cryptoKeyVersions": {
279+
"description": "The names of the Cloud KMS [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions?hl=en) used to protect this resource via CMEK. This field is empty if the Google Cloud product owning the resource does not provide key versions data to Asset Inventory. The first element of this field is stored in crypto_key_version.",
280+
"items": {
281+
"type": "string"
282+
},
283+
"type": "array"
284+
},
278285
"labels": {
279286
"additionalProperties": {
280287
"type": "string"

0 commit comments

Comments
 (0)