Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class CustomerEncryptionKey.
A customer-supplied encryption key.
Generated from protobuf message google.cloud.backupdr.v1.CustomerEncryptionKey
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ raw_key
string
Optional. Specifies a 256-bit customer-supplied encryption key.
↳ rsa_encrypted_key
string
Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
↳ kms_key_name
string
Optional. The name of the encryption key that is stored in Google Cloud KMS.
↳ kms_key_service_account
string
Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
getRawKey
Optional. Specifies a 256-bit customer-supplied encryption key.
string
hasRawKey
setRawKey
Optional. Specifies a 256-bit customer-supplied encryption key.
var
string
$this
getRsaEncryptedKey
Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
string
hasRsaEncryptedKey
setRsaEncryptedKey
Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.
var
string
$this
getKmsKeyName
Optional. The name of the encryption key that is stored in Google Cloud KMS.
string
hasKmsKeyName
setKmsKeyName
Optional. The name of the encryption key that is stored in Google Cloud KMS.
var
string
$this
getKmsKeyServiceAccount
Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
string
hasKmsKeyServiceAccount
clearKmsKeyServiceAccount
setKmsKeyServiceAccount
Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
var
string
$this
getKey
string