Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class EncryptionConfig.
Message describing the EncryptionConfig of backup vault.
This determines how data within the vault is encrypted at rest.
Generated from protobuf message google.cloud.backupdr.v1.BackupVault.EncryptionConfig
Namespace
Google \ Cloud \ BackupDR \ V1 \ BackupVaultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kms_key_name |
string
Optional. The Cloud KMS key name to encrypt backups in this backup vault. Must be in the same region as the vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key} |
getKmsKeyName
Optional. The Cloud KMS key name to encrypt backups in this backup vault.
Must be in the same region as the vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}
| Returns | |
|---|---|
| Type | Description |
string |
|
hasKmsKeyName
clearKmsKeyName
setKmsKeyName
Optional. The Cloud KMS key name to encrypt backups in this backup vault.
Must be in the same region as the vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|