Skip to content

Commit

Permalink
feat(kmsinventory): update the api
Browse files Browse the repository at this point in the history
#### kmsinventory:v1

The following keys were added:
- schemas.GoogleCloudKmsInventoryV1ProtectedResource.properties.cryptoKeyVersions (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jan 24, 2023
1 parent e8b6164 commit 032d453
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ <h3>Method Details</h3>
{ # Metadata about a resource protected by a Cloud KMS key.
&quot;cloudProduct&quot;: &quot;A String&quot;, # The Cloud product that owns the resource. Example: `compute`
&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.
&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.
&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.
&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.
&quot;A String&quot;,
],
&quot;labels&quot;: { # A key-value pair of the resource&#x27;s labels (v1) to their values.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down
11 changes: 9 additions & 2 deletions googleapiclient/discovery_cache/documents/kmsinventory.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
}
}
},
"revision": "20230115",
"revision": "20230122",
"rootUrl": "https://kmsinventory.googleapis.com/",
"schemas": {
"GoogleCloudKmsInventoryV1ListCryptoKeysResponse": {
Expand Down Expand Up @@ -272,9 +272,16 @@
"type": "string"
},
"cryptoKeyVersion": {
"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.",
"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.",
"type": "string"
},
"cryptoKeyVersions": {
"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.",
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
Expand Down

0 comments on commit 032d453

Please sign in to comment.