Reference documentation and code samples for the Cloud Spanner V1 Client class EncryptionInfo.
Encryption information for a Cloud Spanner database or backup.
Generated from protobuf message google.spanner.admin.database.v1.EncryptionInfo
Namespace
Google \ Cloud \ Spanner \ Admin \ Database \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ encryption_type
int
Output only. The type of encryption.
↳ encryption_status
Google\Rpc\Status
Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
↳ kms_key_version
string
Output only. A Cloud KMS key version that is being used to protect the database or backup.
getEncryptionType
Output only. The type of encryption.
setEncryptionType
Output only. The type of encryption.
$this
getEncryptionStatus
Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
hasEncryptionStatus
clearEncryptionStatus
setEncryptionStatus
Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
$this
getKmsKeyVersion
Output only. A Cloud KMS key version that is being used to protect the database or backup.
string
setKmsKeyVersion
Output only. A Cloud KMS key version that is being used to protect the database or backup.
var
string
$this

