View Source GoogleApi.KMSInventory.V1.Model.GoogleCloudKmsInventoryV1ProtectedResource (google_api_kms_inventory v0.4.0)
Metadata about a resource protected by a Cloud KMS key.
Attributes
-
cloudProduct
(type:String.t
, default:nil
) - The Cloud product that owns the resource. Example:compute
-
createTime
(type:DateTime.t
, default:nil
) - Output only. The time at which this resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. -
cryptoKeyVersion
(type:String.t
, default:nil
) - 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 crypto_key_versions. -
cryptoKeyVersions
(type:list(String.t)
, default:nil
) - 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 crypto_key_version. -
labels
(type:map()
, default:nil
) - A key-value pair of the resource's labels (v1) to their values. -
location
(type:String.t
, default:nil
) - Location can beglobal
, regional likeus-east1
, or zonal likeus-west1-b
. -
name
(type:String.t
, default:nil
) - The full resource name of the resource. Example://compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
. -
project
(type:String.t
, default:nil
) - Format:projects/{PROJECT_NUMBER}
. -
projectId
(type:String.t
, default:nil
) - The ID of the project that owns the resource. -
resourceType
(type:String.t
, default:nil
) - Example:compute.googleapis.com/Disk
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.KMSInventory.V1.Model.GoogleCloudKmsInventoryV1ProtectedResource{ cloudProduct: String.t() | nil, createTime: DateTime.t() | nil, cryptoKeyVersion: String.t() | nil, cryptoKeyVersions: [String.t()] | nil, labels: map() | nil, location: String.t() | nil, name: String.t() | nil, project: String.t() | nil, projectId: String.t() | nil, resourceType: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.