Google Cloud AlloyDB for PostgreSQL V1beta Client - Class EncryptionInfo (0.1.3)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1beta Client class EncryptionInfo.

EncryptionInfo describes the encryption information of a cluster or a backup.

Generated from protobuf message google.cloud.alloydb.v1beta.EncryptionInfo

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setEncryptionType

Output only. Type of encryption.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKmsKeyVersions

Output only. Cloud KMS key versions that are being used to protect the database or the backup.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKmsKeyVersions

Output only. Cloud KMS key versions that are being used to protect the database or the backup.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this