Resource: ProtectedResource
Metadata about a resource protected by a Cloud KMS key.
JSON representation |
---|
{ "name": string, "project": string, "projectId": string, "cloudProduct": string, "resourceType": string, "location": string, "labels": { string: string, ... }, "cryptoKeyVersion": string, "cryptoKeyVersions": [ string ], "createTime": string } |
Fields | |
---|---|
name |
The full resource name of the resource. Example: |
project |
Format: |
projectId |
The ID of the project that owns the resource. |
cloudProduct |
The Cloud product that owns the resource. Example: |
resourceType |
Example: |
location |
Location can be |
labels |
A key-value pair of the resource's labels (v1) to their values. |
cryptoKeyVersion |
The name of the Cloud KMS CryptoKeyVersion 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 cryptoKeyVersions. |
cryptoKeyVersions[] |
The names of the Cloud KMS CryptoKeyVersion 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 cryptoKeyVersion. |
createTime |
Output only. The time at which this resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization. |