EncryptionSpec

@Serializable
data class EncryptionSpec(val kmsKeyName: String? = null)

Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(kmsKeyName: String? = null)

Properties

Link copied to clipboard
val kmsKeyName: String? = null

Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.