Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1alpha Client class EncryptionInfo.
EncryptionInfo describes the encryption information of a cluster or a backup.
Generated from protobuf message google.cloud.alloydb.v1alpha.EncryptionInfo
Namespace
Google \ Cloud \ AlloyDb \ V1alphaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ encryption_type |
int
Output only. Type of encryption. |
↳ kms_key_versions |
array
Output only. Cloud KMS key versions that are being used to protect the database or the backup. |
getEncryptionType
Output only. Type of encryption.
Returns | |
---|---|
Type | Description |
int |
setEncryptionType
Output only. Type of encryption.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getKmsKeyVersions
Output only. Cloud KMS key versions that are being used to protect the database or the backup.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setKmsKeyVersions
Output only. Cloud KMS key versions that are being used to protect the database or the backup.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |