InstanceBootDiskInitializeParamsSourceSnapshotEncryptionKey

data class InstanceBootDiskInitializeParamsSourceSnapshotEncryptionKey(val kmsKeySelfLink: String? = null, val kmsKeyServiceAccount: String? = null, val rawKey: String? = null, val rsaEncryptedKey: String? = null, val sha256: String? = null)

Constructors

constructor(kmsKeySelfLink: String? = null, kmsKeyServiceAccount: String? = null, rawKey: String? = null, rsaEncryptedKey: String? = null, sha256: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val kmsKeySelfLink: String? = null

The self_link of the encryption key that is stored in Google Cloud KMS to decrypt the given image. Only one of kms_key_self_link, rsa_encrypted_key and raw_key may be set.

Link copied to clipboard

The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.

Link copied to clipboard
val rawKey: String? = null

A 256-bit customer-supplied encryption key (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption), encoded in RFC 4648 base64 to decrypt the given snapshot. Only one of kms_key_self_link, rsa_encrypted_key and raw_key may be set.

Link copied to clipboard
val rsaEncryptedKey: String? = null

Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given snapshot. Only one of kms_key_self_link, rsa_encrypted_key and raw_key may be set.

Link copied to clipboard
val sha256: String? = null

The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.