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, "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 may be empty if the Cloud product owning the resource does not provide key version data to Asset Inventory. |
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. |